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

[EX Q]: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]
[EX A]: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189

[EX Q]: [1001, 9417, '7135', 'q', 'C', '1417', 'x', '2263', 'F', 539, 5643, 1153, 5893, 'f'], [7791, 6635, 401, '7135', 'q', 'C', '1417', 'x', '2263', 'X', 8455]
[EX A]: 7135, q, C, 1417, x, 2263

[EX Q]: [7, 8797, 'h', 2317, 'O', 'k', 'M', 'c', 2573, '6639', 'g', 'T', 'I', '8567', 'X', '167', '3997', '1735', 'k', 'B', 'F', '613', '8977', 'W', 'F', 7373, 837, 'e', 7301, 'a'], [949, 6161, 'E', 'W', 'D', 'o', '6639', 'g', 'T', 'I', '8567', 'X', '167', '3997', '1735', 'k', 'B', 'F', '613', '8977', 'Y', 'W', 'C', 'r', 'f', 'y', 'u', 'H']
[EX A]:
6639, g, T, I, 8567, X, 167, 3997, 1735, k, B, F, 613, 8977