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]: ['r', 9177, 1593, 9315, 'C', 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'A', 2489, 3955, 1603, 6355], ['I', 'W', 7673, 'm', 'E', 9111, 4177, 9355, 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'v', 9065, 2309, 5041, 1047, 1263, 'V', 3483]
[EX A]: Z, w, X, 1005, 185, 837, p, 2923, Y

[EX Q]: ['U', 2745, 'u', 8439, 'x', 7823, 'Q', 'o', 'Q', 2127, 'r', 1699, 'l', 'R', 'i', 'z', 'A', 8987, 1807, 9493, 9075, 7907, 'W', 'Q', '5823', 'j', '10025', '1095', '3439', '7403', '7593', '1245', '5957', 'N', '6475', '5527', 'v', '8003', 'S', 's', '7699', 'c', 'U', '4125', 'E', 'f', '6081', '1837', 'R', 'E', 'I', 'M', 2753, 3385, 'E', 'j', 'h', 5095, 601, 'F', 't', 6303, 9139, 'o', 3419, 'q', 'w', 'k', 7479, 'a'], [2309, 7859, 'c', 967, 'q', 'a', 'M', 'C', 1493, 'Y', 883, 295, 729, '5823', 'j', '10025', '1095', '3439', '7403', '7593', '1245', '5957', 'N', '6475', '5527', 'v', '8003', 'S', 's', '7699', 'c', 'U', '4125', 'E', 'f', '6081', '1837', 'R', 'E', 'I', 'e', 'e', 8981, 8861, 'I', 1689, 9503, 4263, 3519, 'v', 'A', 2643, 'g', 'h', 'X', 'L', 7395, 'n', 2685, 'H', 'Q', 'f']
[EX A]:
5823, j, 10025, 1095, 3439, 7403, 7593, 1245, 5957, N, 6475, 5527, v, 8003, S, s, 7699, c, U, 4125, E, f, 6081, 1837, R, E, I