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

Input: Consider Input: [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']

Output: 6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093


Input: Consider Input: [4961, 'H', 9957, 'w', 'K', 'Y', 3375, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'y', 2753, 2989, 6093, 7091, 8043, 'c'], [9279, 'S', 6127, 5845, 237, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'w', 9497, 'K', 2297]

Output: S, 3191, 4439, C, 1965, 2787, 4507


Input: Consider Input: ['g', 4461, 251, 'u', 'z', 'T', 4019, 'b', 'j', '3627', 'F', '1395', 'a', '6847', '5021', '3555', 'H', 'G', '8801', '5809', 'u', '4921', '1839', 'u', 'o', 'e', 's', 7937, 'M', 'C', 'g', 7877], ['I', 'p', 'b', 'j', '3627', 'F', '1395', 'a', '6847', '5021', '3555', 'H', 'G', '8801', '5809', 'u', '4921', '1839', 'u', 'o', 'g', 'l', 'S', 8991, 'z', 'N', 'o', 7377, 8445, 'Q', 3387, 'n', 8239, 9203, 'o', 'e']


Output: b, j, 3627, F, 1395, a, 6847, 5021, 3555, H, G, 8801, 5809, u, 4921, 1839, u, o