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

[EX Q]: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
[EX A]: A, g, 6735, 6737, 6929, 3051, v, 1223, 497

[EX Q]: ['U', 3417, 5169, 'r', 's', 2909, 3363, 'x', 8463, 9703, 3041, 'e', 4997, 1689, 'Y', 'y', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'G', 2185, 'I', 'D', 'U', 2889, 6837, 'B', 'x', 2775, 'I', 3053, 1801], [525, 'd', 'K', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'z', 9959, 'H', 1865, 'M', 8529]
[EX A]: T, 53, 8895, 1117, 4025, v, 1689, e, V, k, 2673, 5425, c, p, 8235, Q

[EX Q]: [1083, 7079, 'j', 9935, 6393, 'b', 581, '8819', '2017', '4959', '51', 'Y', '9153', '7425', 'F', 'b', '5807', 'a', 'f', '2897', 'z', '5977', '9903', 'f', 'Z', '2207', 'T', 'L', '8925', '1387', 't', 'K', 469, 8973, 5443, 8051, 4357, 'M', 4929], [8977, 6613, 2361, 5439, 8749, 4579, 9497, 'g', 2645, 7141, 'F', 4913, 'o', 7605, 'd', 7879, 4801, 'r', 2147, 'y', 4437, 4091, 3355, 'V', '8819', '2017', '4959', '51', 'Y', '9153', '7425', 'F', 'b', '5807', 'a', 'f', '2897', 'z', '5977', '9903', 'f', 'Z', '2207', 'T', 'L', '8925', '1387', 't', 'q', 'b', 'Q', 6755, 8257, 's', 1889, 997, 5657, 'q', 5563, 'W', 'o', 6433, 'S', 3831, 'c', 'q', 5991]
[EX A]:
8819, 2017, 4959, 51, Y, 9153, 7425, F, b, 5807, a, f, 2897, z, 5977, 9903, f, Z, 2207, T, L, 8925, 1387, t