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

Input: Consider Input: ['H', 3635, 'N', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'B', 9737, 'n'], ['U', 2701, 'e', 'z', 'd', 3631, 'E', 'V', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'c', 'F', 'b']

Output: c, 2297, U, W, j, 7741, u, 2283


Input: Consider Input: [3401, 5903, 'T', 'n', 'S', 8377, 6691, 'K', 5635, 'g', 'O', 8775, 6893, 'L', '9425', '5485', '1205', 'P', 'S', 'l', 'o', 'j', '4881', '3699', 'v', '981', 't', 'd', '5495', '6819', '4823', 'd', 'A', 'n', 6869, 3403, 235, 343], [1519, 's', 'T', 'L', '9425', '5485', '1205', 'P', 'S', 'l', 'o', 'j', '4881', '3699', 'v', '981', 't', 'd', '5495', '6819', '4823', 'M', 'I', 'S', 5889, 'u', 5331, 'N', 'K', 5203, 5517, 9501, 'B', 8581, 'L', 4789, 's', 'g']

Output: L, 9425, 5485, 1205, P, S, l, o, j, 4881, 3699, v, 981, t, d, 5495, 6819, 4823


Input: Consider Input: ['s', 5761, '6671', 'C', '913', '9413', '3523', 'U', '6719', 'n', '7221', 'M', 4077, 5491, 5965, 'P', 'n'], ['B', 'q', 9697, 9271, 'P', 'Z', 'C', '6671', 'C', '913', '9413', '3523', 'U', '6719', 'n', '7221', 'W', 'K', 8987, 'j', 8785, 6709]


Output: 6671, C, 913, 9413, 3523, U, 6719, n, 7221