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

[EX Q]: [8039, 4457, 'z', 3519, 'q', 'T', 'k', 'b', 'H', 'W', 'H', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'd', 1527, 'o', 1393, 't', 7653], ['g', 2437, 'm', 'b', 2347, 'Q', 6719, 2049, 6643, 'B', 6919, 1873, 'K', 9319, 6729, 'Z', 'E', 8011, 7953, 'M', 1121, 'k', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'o', 1481, 867, 'B', 29]
[EX A]: 5561, 1389, 6389, 6923, 339, Q, 5837, D, z, F, 4743, 7197, 1407, 9711, 4355, 4027, 2219, w, S, Z, f, 4091, 2571

[EX Q]: ['z', 2719, 'i', 'l', 'Z', 'u', '6823', 'g', '1665', 'e', 'L', 'A', 6591, 'F'], [4147, 'T', 'Z', 'u', '6823', 'g', '1665', 'd', 8245, 'i']
[EX A]: Z, u, 6823, g, 1665

[EX Q]: ['v', 531, 533, 9795, 7657, 'S', 'T', 'F', 'K', 'k', 8497, 7793, 'H', 'D', 'B', 5735, 'e', '5841', '2405', 'l', '3547', 'C', 'o', 'N', '6491', '5927', 'D', 'R', '9065', 'b', '4357', 'y', 'a', '5081', 'W', '1091', '281', '3739', '133', '9933', '4975', 'l', '3243', '7873', 'J', 'h', 'r', 3087, 2427, 2153, 505, 2055, 1357, 'g', 'P', 'k', 'e', 2627, 'a', 3139, 'o', 'k', 'Q', 4893, 5503], [749, 'a', 'u', 895, 2791, 6775, 'W', 6919, 7165, 463, 6469, 9859, '5841', '2405', 'l', '3547', 'C', 'o', 'N', '6491', '5927', 'D', 'R', '9065', 'b', '4357', 'y', 'a', '5081', 'W', '1091', '281', '3739', '133', '9933', '4975', 'l', '3243', '7873', 'J', 'h', 'b', 'K', 'w', 'r', 1503, 'b', 'l', 7387, 1341, 6637]
[EX A]:
5841, 2405, l, 3547, C, o, N, 6491, 5927, D, R, 9065, b, 4357, y, a, 5081, W, 1091, 281, 3739, 133, 9933, 4975, l, 3243, 7873, J, h