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

[EX Q]: [7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']
[EX A]: 6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093

[EX Q]: ['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]
[EX A]: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n

[EX Q]: ['R', 437, 2943, 4411, 8857, 'I', 'i', 6377, 'g', 'Y', 'T', 'a', 's', 5593, 4297, 9675, 'L', 5161, 'n', 3745, '757', 'P', 'h', '2307', 'H', '329', '17', '6029', '5783', '1611', 'D', '637', '3021', '4563', 'e', 'Q', '4055', 'm', '985', '10027', 'M', 'f', 'K', 'J', 'i', 'v', 4791, 9847, 'B', 'g', 601, 8885, 2243, 7381, 'H', 8619, 6529, 'O', 5895, 'C', 8623, 'u', 'I'], ['f', 'o', 9561, 63, 's', 1783, 6403, 'B', 3169, 7637, 1075, 'C', 1319, 4029, 2077, 'J', 5605, 'C', 'Y', 'p', '757', 'P', 'h', '2307', 'H', '329', '17', '6029', '5783', '1611', 'D', '637', '3021', '4563', 'e', 'Q', '4055', 'm', '985', '10027', 'M', 'f', 'K', 'J', 'I', 'x', 'V', 'C', 5903, 3937, 7253]
[EX A]:
757, P, h, 2307, H, 329, 17, 6029, 5783, 1611, D, 637, 3021, 4563, e, Q, 4055, m, 985, 10027, M, f, K, J