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

[EX Q]: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']
[EX A]: 5181, q, c, W, r

[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]: ['O', 8547, 'K', 4047, 'Q', 'g', 7601, 'y', 'K', 'h', 1769, '3315', 'E', 'h', 'C', '3217', 'k', '1395', 'R', 'C', 'c', '2785', 'M', '9501', '2753', 'T', 'I', 's', '9433', 'z', 'A', 'l', 'w', 'X', 'i', 'l', 'e', '75', '6621', 'R', '217', 'a', 3037, 'F', 'j', 'k', 6197], [3035, 'f', 3607, 'U', 7025, 'r', 5529, 'R', 5391, 'Z', 'R', 'u', 4567, 1463, 8169, 'H', 'O', 'f', 4863, 7169, 'a', 2181, 'z', 'M', 5339, 't', 6717, '3315', 'E', 'h', 'C', '3217', 'k', '1395', 'R', 'C', 'c', '2785', 'M', '9501', '2753', 'T', 'I', 's', '9433', 'z', 'A', 'l', 'w', 'X', 'i', 'l', 'e', '75', '6621', 'R', '217', 'e', 5067]
[EX A]:
3315, E, h, C, 3217, k, 1395, R, C, c, 2785, M, 9501, 2753, T, I, s, 9433, z, A, l, w, X, i, l, e, 75, 6621, R, 217