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

Input: Consider Input: [1057, 8997, 6853, 1935, 't', '3929', '9627', '4599', 'c', 'W', 'S', '7893', '2409', '6647', 'q', '3657', '3959', '7725', 'v', 'Q', 'L'], [2553, 'S', 'E', '3929', '9627', '4599', 'c', 'W', 'S', '7893', '2409', '6647', 'q', '3657', '3959', '7725', 'Q', 'S', 4853, 1079, 7087, 'W', 'k']

Output: 3929, 9627, 4599, c, W, S, 7893, 2409, 6647, q, 3657, 3959, 7725


Input: Consider Input: ['x', 495, 'L', 'O', 2935, 'y', 163, 3507, 6515, '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'w', 1985, 'F', 'V', 5375, 6359, 7963, 4103, 2625, 'p', 'N', 7945, 'L', 6909], [251, 'J', 'k', 4075, 'd', 'x', 'j', 'K', 'u', 605, 1667, 8527, 6845, 2537, 'O', 9259, 'o', 'B', '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'j', 'S', 'H', 1289]

Output: 5249, 9751, 8269, 923, 10005, 9739, u, X, y, 4535, I, V, f, 8511, 8955, s, 2255, 1, 7831, t


Input: Consider Input: ['M', 'E', '6549', '6761', 'p', 'S', '3617', 'd', 'n', 'l', 'O', 'N', 's', '2333', 'D', 'c', 'Y', 4439, 6983, 1323, 1863, 4439, 'r', 'J', 'J', 'I', 3433], ['f', 'd', 'r', 4541, 'e', 'D', '6549', '6761', 'p', 'S', '3617', 'd', 'n', 'l', 'O', 'N', 's', '2333', 'D', 'X', 1245]


Output: 6549, 6761, p, S, 3617, d, n, l, O, N, s, 2333, D