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]: [6921, 9035, 1815, 'T', 7393, 6607, 'D', 'c', 293, 'U', 4409, 4737, 3515, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'o', 'a', 'M', 7035, 'v', 4907, 'l', 9767, 9189, 6353, 2883, 'F', 'x', 7665, 6801, 'x', 'J', 'G', 5361, 'f', 'Y', 'u', 'K', 'c', 1779, 1115], [587, 779, 525, 'i', 's', 4247, 5713, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'u', 4957, 'c', 'k', 5231, 'i', 'T', 'q', 'd']
[EX A]: I, a, 839, q, n, 2571, 5999, L, k, 9745, 9023, 7365, C, 2893, n, 7783, E, 5071, Z, 3647, f, 7281, 8791, U, t, 3969, 2029, i

[EX Q]: ['G', 3991, 'e', 3399, 'L', 'Q', 6019, 3103, 9641, 'C', 49, 4121, 'O', 'P', 'n', '1533', 'f', 'v', 'x', '9923', '1481', '7189', '4481', '307', 'z', 'b', 'x', 'R', 'G', '2469', 'W', 'U', '3747', 'T', 'x', 'm', '2917', 'z', 'p', 'Z', 'z', 'j', 'E', 'Q', 6917, 5565, 6917, 'Q', 'I', 1879, 2327, 'X', 5315, 'n', 'T', 'k', 8663, 43, 'Y', 7171, 'f', 'r', 3955, 'L', 's', 9283], [3103, 'R', 'n', '1533', 'f', 'v', 'x', '9923', '1481', '7189', '4481', '307', 'z', 'b', 'x', 'R', 'G', '2469', 'W', 'U', '3747', 'T', 'x', 'm', '2917', 'z', 'p', 'Z', 'z', 'w', 99, 9945, 't', 5593, 5419, 8975, 7123, 675, 'Q', 'G', 1963, 6821, 'A', 3861, 1925, 3831, 7133, 7551, 1299, 'R', 'L']
[EX A]:
n, 1533, f, v, x, 9923, 1481, 7189, 4481, 307, z, b, x, R, G, 2469, W, U, 3747, T, x, m, 2917, z, p, Z, z