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]: ['s', 'M', 'y', 'b', 'S', 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'b', 'i', 'A', 2579, 8191, 'g', 3591, 4195, 'q', 1357], ['F', 'U', 'G', 7763, 1385, 'm', 1089, 4701, 1565, 'm', 9713, 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'X', 'b', 'f', 7385, 'G']
[EX A]: P, J, 8781, 7865, 1961, 6767, a, r, H, j, a

[EX Q]: [7211, 'U', 5563, 9399, 635, 'o', 7851, 'n', 'z', 6093, 4021, 7179, 5961, 6003, 2375, 1197, 6945, 'h', 'F', 'Z', 8275, 'Z', 'S', 'w', 'T', 'x', 'y', 'S', 'P', 'G', 'x', 'I', 'w', '10019', 'P', 'F', '447', '4847', 'O', 'I', 'H', '6199', '6569', '3105', 'e', 'I', 'I', '305', '7913', 'L', '6743', 'q', '7337', 'g', '7527', '3057', '441', 'F', 'E', 'M', 2403, 8893, 'U', 263, 8657, 8727, 7555, 7983, 8377, 7031], [8471, 'c', 677, 3451, 'X', 17, 's', 3133, 'O', 3541, 8935, 5501, 'a', 7001, 'p', 'o', 7339, 'O', 7617, 'W', 'Y', 7381, 1663, 'S', 'P', 'G', 'x', 'I', 'w', '10019', 'P', 'F', '447', '4847', 'O', 'I', 'H', '6199', '6569', '3105', 'e', 'I', 'I', '305', '7913', 'L', '6743', 'q', '7337', 'g', '7527', '3057', '441', 'J', 243, 1211, 'V', 4217, 2191, 'y', 5585, 5717, 9555, 3021, 'o', 'q', 'L', 'd']
[EX A]:
S, P, G, x, I, w, 10019, P, F, 447, 4847, O, I, H, 6199, 6569, 3105, e, I, I, 305, 7913, L, 6743, q, 7337, g, 7527, 3057, 441