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

[EX Q]: [8523, 2741, 'B', 2283, 2319, 5579, 4895, 1093, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'G', 2491], [17, 6185, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'n', 4549, 'g', 1859, 'f', 'B', 4639, 6413]
[EX A]: 6081, w, j, U, 8951, g, 3325, 6587, 4979, X, x, 8257

[EX Q]: [4163, 'p', 'Z', 'i', 'r', 9525, 'c', 'C', 'L', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'w', 6457, 'P', 1517, 6975, 2465, 'Y', 425, 'n', 375, 'O', 7707, 1105, 1985, 6149, 'l', 5761, 875, 4411], [2127, 9083, 'w', 'Z', 4071, 5347, 'r', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'o', 'K', 1639, 'Z', 13, 'm', 'M', 'G', 'C', 353]
[EX A]: J, L, 3441, W, 2257, 7885, 873, e, a, N, 2853, K, R, 5531, h, p, u, b, 6003, q, H, 6641, 9991

[EX Q]: ['T', 1991, 4829, 5995, '5159', '9885', '9819', 'b', '9117', 'c', '4771', 'D', 'K', 1299, 6535, 'X', 'j', 3577], ['p', 'M', 'd', 917, 1519, '5159', '9885', '9819', 'b', '9117', 'c', '4771', 'e', 39, 'P']
[EX A]:
5159, 9885, 9819, b, 9117, c, 4771