In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[EX Q]: [4931, 5661, 8651, 'l', 'd', '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'K', 2179, 5747, 'C'], [3737, 7345, 3921, 'i', 9199, 3269, '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'A', 'd', 185, 'M']
[EX A]: 9585, r, U, z, 6511, 9443, 2917

[EX Q]: [7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']
[EX A]: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845

[EX Q]: [2165, 'A', 'L', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'c', 4715, 'w', 3191, 'Q', 2951, 3303], [1387, 2063, 'm', 'k', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'o', 9521, 1539, 'e', 6687, 6805]
[EX A]:
6045, 1245, Y, t, M, y, 1889, H, C, 8175