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

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

Example Input: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]
Example Output: 7171, I, m, 3035

Example Input: [4109, 'h', 'k', 329, 'w', 'D', '7933', 'd', 'A', 'M', '4921', '877', 'm', 'H', 'G', '9769', '6747', '7241', '6285', '2153', '9843', 'G', 'S', 5903, 951, 1503, 'e', 9665, 1879, 3449, 3177, 'D', 8605, 'G', 'G', 's', 8025, 2725], [8433, 'J', 'v', 1069, 'I', 1817, 6071, 6987, 5711, 8347, 321, 6037, 2759, 'w', 'D', '7933', 'd', 'A', 'M', '4921', '877', 'm', 'H', 'G', '9769', '6747', '7241', '6285', '2153', '9843', 'G', 't', 'd', 6823, 's', 6349, 2935, 8117, 8581, 119, 'O', 2933, 8353, 'S', 'D', 7181, 's', 6533]
Example Output:
w, D, 7933, d, A, M, 4921, 877, m, H, G, 9769, 6747, 7241, 6285, 2153, 9843, G