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

[EX Q]: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]
[EX A]: 1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689

[EX Q]: [9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]
[EX A]: 2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097

[EX Q]: [3945, 4295, 2985, 2057, 'Y', '5821', 'N', 'h', 'C', 'w', 'T', 'w', 'B', 't', '1259', '9833', 'l', 'e', 'O', '8141', 'e', 's', '99', '3257', 'Q', 'C', 'W', 'e', 7, 'k', 'b', 4449], [4649, 6553, 'M', 'C', 'S', 847, 'p', 'G', 'n', 'G', 'D', 'U', 'v', 'D', 3919, 'O', 4791, 'r', 'F', 6889, 4939, 'J', 'Y', '5821', 'N', 'h', 'C', 'w', 'T', 'w', 'B', 't', '1259', '9833', 'l', 'e', 'O', '8141', 'e', 's', '99', '3257', 'Q', 'C', 'B', 'x', 'y']
[EX A]:
Y, 5821, N, h, C, w, T, w, B, t, 1259, 9833, l, e, O, 8141, e, s, 99, 3257, Q, C