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

[EX Q]: [337, 2045, 613, 'P', 89, 10003, 'q', 'b', 'n', 6479, 'Y', 'm', 5259, 'c', 9101, 7599, 6353, 5467, 'O', 'U', 'N', 7841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'N', 'w', 7365, 'W', 981, 245, 8933, 'h', 4477, 1395, 'J', 8069, 5313, 'J', 709, 3533, 'b', 8629, 'G', 'P', 'Y', 5397], [3017, 1679, 'O', 'p', 2983, 9493, 4763, 'P', 'Q', 'd', 139, 'i', 2459, 'G', 'c', 299, 'Q', 'Z', 1841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'q', 'k', 825, 'D', 't', 'j', 'T', 6747, 'q', 7211, 'i', 1557, 'f', 7917, 'R', 1325, 6801, 'T', 'Q', 2305, 's', 'K', 'R', 2877, 'p']
[EX A]: S, S, 6141, p, 9427, U, 1347, I, 5193, O, N, s, 1617, e, 2297, X, y, e, 507, R, a, E, q, 4953, 729, T, w, 7017, 8647

[EX Q]: [875, 'U', 'g', 'q', 'H', 2847, 'f', '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'e', 'n', 5885, 'w', 3345, 4693, 'H', 7789, 'y', 'j', 'e'], ['V', 'j', 6713, 2923, 'y', 6205, 'm', 5961, 9023, '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'y', 7427, 5987]
[EX A]: 6811, B, 7549, K, r, V, x, P, X, 2469, 3845, W

[EX Q]: [843, 1295, 'd', 9857, 2683, 'K', 'h', 'k', 'V', 8517, 6047, 7565, 1503, '2151', '6257', 'M', '8301', '855', '1337', 'U', '9683', '4941', 'T', 'i', 'q', '8381', 'w', '2621', '265', '187', 'z', 'Q', 'h', '329', 'h', 1043, 7407, 883, 'r', 6735, 7583, 7395, 127, 'x', 4593, 9365, 'a', 'm', 'j', 'q', 173, 4605, 'D', 'u', 'P'], [1345, 'b', 't', 'F', '2151', '6257', 'M', '8301', '855', '1337', 'U', '9683', '4941', 'T', 'i', 'q', '8381', 'w', '2621', '265', '187', 'z', 'Q', 'h', '329', 'S', 5291, 9373, 9147, 6863, 'q', 'B']
[EX A]:
2151, 6257, M, 8301, 855, 1337, U, 9683, 4941, T, i, q, 8381, w, 2621, 265, 187, z, Q, h, 329