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

[Q]: ['c', 'G', 8225, 6329, '6291', '5279', 'n', 'A', 'J', 'n', 5221, 'r', 't'], ['k', 'M', 'Z', 'B', 4003, '6291', '5279', 'n', 'A', 'J', 'g', 'm']
[A]: 6291, 5279, n, A, J


[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']
[A]: 6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093


[Q]: [5249, 'r', '2049', '5357', 'S', 'l'], ['X', 'q', '2049', '5357', 'A', 'q']
[A]:
2049, 5357