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: ['U', 'S', 1413, 'O', 'j', 5221, 6645, 7877, 5445, 'K', 7223, 'u', 'J', 'U', 'Q', 'F', '1723', '639', 's', '4473', 'H', '3351', '7653', '2801', '5123', 'V', '9073', '8733', '7617', '1785', 'j', '7085', '895', 'm', '7831', '5757', '255', 'i', 'n', 9101, 'Q', 6009, 'f', 5025, 5631, 4575, 't', 'u', 8185, 'Z', 1459, 9567, 1549, 9011, 'A', 'k', 'w', 1513, 1063, 8087, 't'], [8547, 'W', 1709, 'c', 'J', 'U', 'Q', 'F', '1723', '639', 's', '4473', 'H', '3351', '7653', '2801', '5123', 'V', '9073', '8733', '7617', '1785', 'j', '7085', '895', 'm', '7831', '5757', '255', 'K', 4041, 6407, 6049, 9859, 4451, 7035, 5861, 323, 3431, 'g', 'X', 'h', 441, 1471, 'I', 343, 1955, 'E', 'K', 7927, 'F', 'S', 'E']

Output: J, U, Q, F, 1723, 639, s, 4473, H, 3351, 7653, 2801, 5123, V, 9073, 8733, 7617, 1785, j, 7085, 895, m, 7831, 5757, 255


Input: Consider Input: [3671, 3385, 5947, 9213, 'J', '7793', 'B', '2105', 'T', 'j', '6295', 'b', '2233', '7343', 'r', '8941', 'n', 'l', '6225', 'H', '2391', 'z', '6893', '6961', '5277', '7837', '4715', 'w', 'J', '1407', 'Q', 'v', 'W', 'd', 'R', 407, 7863, 3743, 'o', 4539, 'K', 'F', 'L', 'W', 8059, 6981, 533, 6599, 'E', 'I', 'V', 'y', 'l'], [7951, 2321, 'p', 1253, 'K', 5691, 915, 'T', 6365, 625, 8439, 'T', 1853, 'L', 3291, 5635, 4591, 'J', '7793', 'B', '2105', 'T', 'j', '6295', 'b', '2233', '7343', 'r', '8941', 'n', 'l', '6225', 'H', '2391', 'z', '6893', '6961', '5277', '7837', '4715', 'w', 'J', '1407', 'Q', 'v', 'o', 'B', 4121]


Output: J, 7793, B, 2105, T, j, 6295, b, 2233, 7343, r, 8941, n, l, 6225, H, 2391, z, 6893, 6961, 5277, 7837, 4715, w, J, 1407, Q, v