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]: ['V', 9605, '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'x', 'G', 3653, 'F'], [2801, 2015, 5249, 'u', 'T', '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'N', 'c', 'h']
[EX A]: 383, W, r, 2107, 375, 5329, 1973, e, 6041, b, 7285, u, 8099, 2721, 6361, 2135, 4997

[EX Q]: [6615, 2139, 8897, 3047, 4393, 'l', '6129', '4595', 'A', '1479', '8135', '9647', 'k', 'f', '9593', 'q', '7477', 'B', '4485', '5825', 'Z', 'X', 1199, 2631, 7813, 185, 'h', 4987, 8597, 5787, 6801, 6027], ['O', 239, 3251, 'j', 'q', 7011, 'b', 3329, 'D', 4535, 'j', 'l', '6129', '4595', 'A', '1479', '8135', '9647', 'k', 'f', '9593', 'q', '7477', 'B', '4485', '5825', 'Z', 'T', 'X', 7627, 'a', 8983, 9485, 'h']
[EX A]:
l, 6129, 4595, A, 1479, 8135, 9647, k, f, 9593, q, 7477, B, 4485, 5825, Z