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

Input: Consider Input: ['R', 437, 'S', 'N', 'H', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'B', 3579, 'v', 8529, 'i'], ['w', 'j', 'X', 'G', 'I', 4567, 'H', 'w', 8869, 4535, 'L', 'q', 'u', 'V', 'L', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'R', 155]

Output: 3615, w, j, N, 6991, 7577, O, z, k, F, T, 3585, 5505, 5485, f


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: [53, 7075, 'J', 'U', 3399, 8553, 7179, 'v', '859', '2889', 'x', '5451', 'C', 'A', 'g', 'c', 'Z', '8373', 'F', 2493, 'J', 8931, 4661, 'E', 'O', 'm', 3723, 3453], ['g', 'C', 3621, 6855, 3777, 1901, 'w', 3367, '859', '2889', 'x', '5451', 'C', 'A', 'g', 'c', 'Z', '8373', 'o', 'G', 'i', 7645, 8855, 'V', 'K', 547]


Output: 859, 2889, x, 5451, C, A, g, c, Z, 8373