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

Input: Consider Input: [6103, 'W', 'k', 931, 'r', 'v', 'w', 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'b', 'w'], [9617, 'F', 3411, 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'O', 9311, 5805]

Output: X, 5537, 3209, 4831, R, 2093, U


Input: Consider Input: [5023, 1633, 6863, 9693, 'p', 3961, 7873, 'O', 'w', 'Y', 'T', 'r', 'H', 7385, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'R', 'g', 6665, 'F', 'X', 'v', 5013, 'X', 'Z', 8567, 'j', 'z', 'S', 3365, 6011, 't', 879], [149, 841, 'w', 9105, 6917, 'M', 'M', 'A', 'o', 'b', 4001, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'D', 'i', 9469, 1355, 7537, 6121, 'I', 9551, 'o', 'u', 'F', 't', 2395, 'K', 9727, 395, 8717, 'z', 'F', 6785, 'i', 'D', 'n', 9731, 103]

Output: 715, Q, 4937, Z, L, 2393, 9021, 7407, 3597, 4273, f, 7643, J, 2705, w, i, 3093, p, E, 4203, 6371, 5797, a, 2223, T, I, 989, 4313


Input: Consider Input: ['P', 3969, 'e', 'a', 2427, 'w', 'a', 2211, 3591, 2739, 'T', 'p', 'N', '961', 'a', '1561', 'W', 'Z', 'G', 'e', 'C', 'q', '3419', 'v', 7729, 'E', 'J', 2119, 'j', 8829, 'k', 'M', 'Y', 2511], ['d', 8339, 'p', 'w', 5601, 'Z', 'p', 6373, 'N', 5733, 9035, 'p', 'N', '961', 'a', '1561', 'W', 'Z', 'G', 'e', 'C', 'q', '3419', 't', 2969, 'G', 'q', 'B', 9191, 5931, 7435]


Output: p, N, 961, a, 1561, W, Z, G, e, C, q, 3419