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

Input: Consider Input: ['c', 'N', 9495, 305, 1779, 7447, 8519, 2777, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'A', 'p', 'k', 'h', 'A', 7013, 509, 'G'], ['V', 2467, 9505, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'W', 4557, 's', 4431]

Output: 2205, 2411, 4203, g, V, 8037, h, 5963, L, 715


Input: Consider Input: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]

Output: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189


Input: Consider Input: ['E', 'C', 'R', 'O', 'S', 'i', 'w', 6157, 2231, 5709, 'O', 8279, 2567, 9695, 'Q', 9237, 4921, 2831, 'z', 'O', 'V', 'f', 'k', 'E', 'U', 'L', '3881', 'F', 'p', 'U', 'C', '8251', '445', 'f', 'I', 'Y', 'w', 'Z', 'v', '4127', '641', '9987', '177', '7095', '823', '3289', '865', 'b', '7333', 'c', '1287', '3385', 'I', 'C', 'V'], [557, 'F', 1021, 'k', 37, 's', 3915, 6481, 'S', 'd', 1583, 2249, 429, 'f', 'U', 6451, 961, 'M', 10025, 'N', 'i', 'g', 8515, 'k', 'E', 'U', 'L', '3881', 'F', 'p', 'U', 'C', '8251', '445', 'f', 'I', 'Y', 'w', 'Z', 'v', '4127', '641', '9987', '177', '7095', '823', '3289', '865', 'b', '7333', 'c', '1287', '3385', 'k', 4903, 'F', 'Z', 1559, 1043, 'c', 'y', 6265, 'E', 1071, 6773, 517, 3195, 2991, 'd', 111, 'c', 7459, 'X', 'r', 'w', 'z', 6461]


Output: k, E, U, L, 3881, F, p, U, C, 8251, 445, f, I, Y, w, Z, v, 4127, 641, 9987, 177, 7095, 823, 3289, 865, b, 7333, c, 1287, 3385