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]: [3469, 'O', 'M', 6609, 9577, 'j', 2707, 9267, 'a', 'Z', 'Q', 3461, 'u', 'V', '5791', '1939', 't', 'B', 'Z', 'r', 'v', '4499', '4929', 'S', '3917', 'G', '5357', '9449', '8413', '8381', 'A', '2315', '2553', '5749', 'G', 'V', 'K', '4899', '8425', '937', '1877', '4943', 'e', 5997, 'e', 'q', 'x', 3285, 1197, 'z', 9411], [9093, 'U', 's', 6889, 1183, 1171, 5713, 'A', 8885, 6275, 'I', 'j', '5791', '1939', 't', 'B', 'Z', 'r', 'v', '4499', '4929', 'S', '3917', 'G', '5357', '9449', '8413', '8381', 'A', '2315', '2553', '5749', 'G', 'V', 'K', '4899', '8425', '937', '1877', '4943', 'H', 'M', 'K']
[EX A]: 5791, 1939, t, B, Z, r, v, 4499, 4929, S, 3917, G, 5357, 9449, 8413, 8381, A, 2315, 2553, 5749, G, V, K, 4899, 8425, 937, 1877, 4943

[EX Q]: [815, 'i', 10001, 'r', 'd', 4361, 7335, 't', 'A', 9717, 3357, 9321, 5955, 'W', 'T', 'n', 'n', '5581', '7723', 'D', '6543', '6111', 'r', 'C', 'V', 'z', '9307', 'Z', 'D', '9109', '7057', '207', '4257', 'D', '6757', 'A', 7881, 'z', 9787, 'S', 5219, 5127, 9967, 'F', 'e'], [7283, 'D', 'h', 'q', 'a', 643, 7301, 9385, 8613, 4261, 's', 5893, 7943, 'k', '5581', '7723', 'D', '6543', '6111', 'r', 'C', 'V', 'z', '9307', 'Z', 'D', '9109', '7057', '207', '4257', 'D', '6757', 'K', 8647, 'O', 5501, 'N', 'T', 'r', 1415, 1305, 3015, 'j', 1143, 'J', 'H', 'B', 'H']
[EX A]:
5581, 7723, D, 6543, 6111, r, C, V, z, 9307, Z, D, 9109, 7057, 207, 4257, D, 6757