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

Input: Consider Input: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']

Output: 3743, 7709, 4991, 1023, z


Input: Consider Input: ['K', 9673, 1909, 4297, 4479, 6817, 4899, 'C', 6959, 'V', '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'a', 'M', 'n', 6241, 'm'], ['x', 2703, 'G', 'g', 6139, 369, 'M', 2263, 1539, 8497, '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'X', 171, 2305, 2887, 'x', 'M', 557, 9003, 'H', 'V', 'B', 7409]

Output: 9807, 5503, 4787, 8401, 1975, c, 3357, O, 2117, V, W, 223, n, 7837, J, 7137, 4965, O, 9937


Input: Consider Input: ['Z', 'Z', 'J', 'd', 'H', 'S', 2621, 5837, 9511, 7485, 'U', 'K', 4339, 7849, 6299, 'l', 'Z', 'o', 'I', 7743, 'y', 3449, 1027, 'w', 6783, 9373, 4243, 'C', '5289', '9613', 'Y', 'E', '3613', 'A', '2927', 'E', '545', '4879', 'l', 'A', 'b', '6221', '177', 'E', 's', 'r', '8237', 'G', '1285', '8847', 'v', '1507', 'R', 'l', 'D', 'g', 'a', 9939, 2417, 2327, 543, 'Z', 7393, 7213, 4331], [1351, 'w', 'Z', 2083, 'q', 'Y', 5415, 1631, 'U', 'C', '5289', '9613', 'Y', 'E', '3613', 'A', '2927', 'E', '545', '4879', 'l', 'A', 'b', '6221', '177', 'E', 's', 'r', '8237', 'G', '1285', '8847', 'v', '1507', 'R', 'l', 'D', 'g', 's', 1575, 'B', 4573, 3641, 'R', 'L']


Output: C, 5289, 9613, Y, E, 3613, A, 2927, E, 545, 4879, l, A, b, 6221, 177, E, s, r, 8237, G, 1285, 8847, v, 1507, R, l, D, g