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

Ex Input:
[6157, 337, 8845, 'b', 'a', 'C', 't', 7537, 755, '7179', '1999', '2935', 'x', '4511', '1859', 'Y', 'E', '9719', 'x', 'v', '6477', '1821', 'L', 'w', 'R', '6721', 'D', 'T', '2329', 'N', '8993', 'b', '4199', '1493', 'x', 7067, 441, 4641, 927, 8561, 3119, 'b', 4709, 'S', 975, 'i', 'e', 5163, 4073, 2731, 6333, 9819, 1279, 6035, 'W', 2727, 'V', 'x', 3127], ['G', 4151, 'N', 'M', 7347, 'C', 'S', 'r', 9075, 1287, 'x', 'B', 'n', 5569, 'r', 'a', 'b', 'u', 'M', 1465, 3277, 'D', 3207, '7179', '1999', '2935', 'x', '4511', '1859', 'Y', 'E', '9719', 'x', 'v', '6477', '1821', 'L', 'w', 'R', '6721', 'D', 'T', '2329', 'N', '8993', 'b', '4199', '1493', 'R', 9029, 6923, 'v', 'Q', 2415, 4647, 'm', 6267, 'J', 7565, 4235, 4739, 749, 'f', 'L', 5809, 'f']

Ex Output:
7179, 1999, 2935, x, 4511, 1859, Y, E, 9719, x, v, 6477, 1821, L, w, R, 6721, D, T, 2329, N, 8993, b, 4199, 1493


Ex Input:
['w', 3897, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'P', 'C', 'z', 5141, 1751, 6731, 'r'], ['B', 8071, 703, 'G', 885, 'Z', 2391, 1749, 4177, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'D', 8751, 'y', 2941]

Ex Output:
U, a, 455, 6499, 8975, 9003, O, j, T


Ex Input:
[8353, 'L', 9385, 'T', '1349', 'z', 'n', 'r', 'D', 'j', 9809], ['l', 'Y', 'B', 'n', '1349', 'z', 'n', 'r', 'u', 't', 'h']

Ex Output:

1349, z, n, r