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

[EX Q]: [3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']
[EX A]: 7241, V, p, i, 6013, X, C, 8145, Y, 2517, z

[EX Q]: [337, 2045, 613, 'P', 89, 10003, 'q', 'b', 'n', 6479, 'Y', 'm', 5259, 'c', 9101, 7599, 6353, 5467, 'O', 'U', 'N', 7841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'N', 'w', 7365, 'W', 981, 245, 8933, 'h', 4477, 1395, 'J', 8069, 5313, 'J', 709, 3533, 'b', 8629, 'G', 'P', 'Y', 5397], [3017, 1679, 'O', 'p', 2983, 9493, 4763, 'P', 'Q', 'd', 139, 'i', 2459, 'G', 'c', 299, 'Q', 'Z', 1841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'q', 'k', 825, 'D', 't', 'j', 'T', 6747, 'q', 7211, 'i', 1557, 'f', 7917, 'R', 1325, 6801, 'T', 'Q', 2305, 's', 'K', 'R', 2877, 'p']
[EX A]: S, S, 6141, p, 9427, U, 1347, I, 5193, O, N, s, 1617, e, 2297, X, y, e, 507, R, a, E, q, 4953, 729, T, w, 7017, 8647

[EX Q]: [4773, 'H', 9145, 7947, 'B', 'm', 4843, 's', 7907, 3839, 'i', 4375, 't', 5777, 'V', 7189, 'Z', 'S', '9767', '1091', 'C', 'Q', '4145', '1085', '2097', '2353', '7267', '5869', '2943', '27', '5685', 'w', 'g', '5657', 'P', 'w', 'F', 'p', 'y', 2735, 'Y'], [7153, 'i', 5015, 'b', 4477, 4509, '9767', '1091', 'C', 'Q', '4145', '1085', '2097', '2353', '7267', '5869', '2943', '27', '5685', 'w', 'g', '5657', 'P', 'w', 'F', 'P', 'M', 'n', 'E', 6737, 9879, 'q', 3177, 'M']
[EX A]:
9767, 1091, C, Q, 4145, 1085, 2097, 2353, 7267, 5869, 2943, 27, 5685, w, g, 5657, P, w, F