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

Ex 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']

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


Ex Input:
[1103, 'N', 9147, 7165, 'V', 'f', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'G', 7437, 3205, 'g', 8083, 'q', 3507, 'L', 9495], [5075, 't', 8603, 5843, 't', 7843, 451, 'M', 'Z', 'e', 5525, 'l', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'z', 'K', 7637, 2523, 1279, 'r', 'n', 'f', 1773, 'o', 4173, 4627, 39]

Ex Output:
7111, D, u, 7395, 1823, f, 4665, v, W, 7465, V, h, 3957, w, T, x


Ex Input:
['o', 1303, 8357, 'e', 97, '8887', 'J', '5067', 'B', '9465', '1339', '7575', '5417', 'C', '4507', 'C', 'x', 'a', 7139, 5161, 3429, 'p'], [2651, 2133, 'r', 9745, 825, 2065, 'j', 29, 'W', 'M', 'a', '8887', 'J', '5067', 'B', '9465', '1339', '7575', '5417', 'C', '4507', 'C', 'R', 7425, 6383, 333, 9419, 'N']

Ex Output:

8887, J, 5067, B, 9465, 1339, 7575, 5417, C, 4507, C