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

[Q]: ['l', 8391, 7237, 'j', 5061, '1867', 'R', '5053', 'H', 'R', 'd', 'K', 8013, 'H'], ['H', 7623, '1867', 'R', '5053', 'H', 'R', 'd', 'e', 3679, 'd', 'M', 'j']
[A]: 1867, R, 5053, H, R, d


[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']
[A]: 9585, r, U, z, 6511, 9443, 2917


[Q]: ['k', 953, 'q', 'f', '3505', 'M', '2689', '8075', 'B', 'x', '5919', '2603', 'z', '6783', '5541', 's', 'H', 'T', 'l', 'k', 'Q', 'N', 't', 'F', 'F', 'M', 9371, 1917, 9601, 6123, 'C', 3005, 'T', 'W'], [4891, 'C', 5667, 'p', 'm', 1063, 7559, 5637, '3505', 'M', '2689', '8075', 'B', 'x', '5919', '2603', 'z', '6783', '5541', 's', 'H', 'T', 'l', 'k', 'Q', 'N', 'v', 'B', 'C', 't', 'Y']
[A]:
3505, M, 2689, 8075, B, x, 5919, 2603, z, 6783, 5541, s, H, T, l, k, Q, N