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

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:
[7667, 'U', 5597, 9391, 'm', 'F', 683, 'k', 'r', 'm', 4389, 'X', 'p', 39, 'E', '8801', 't', 'B', 'V', 'v', 'e', 'p', '9493', '4805', 'n', 'V', 'C', '4657', '6173', '3989', '9599', 'U', 'r', 's', '5255', '5265', 'r', 8425, 2993, 'e', 6063, 9811, 'P', 7403], [3191, 'S', 'b', 'F', 'B', 'Z', 'i', 'A', 1703, 'q', 3449, 'Q', 'X', 'f', 'k', 4455, 'L', '8801', 't', 'B', 'V', 'v', 'e', 'p', '9493', '4805', 'n', 'V', 'C', '4657', '6173', '3989', '9599', 'U', 'r', 's', '5255', '5265', 'F', 'b', 6335, 615, 6181, 'K', 'U', 'F', 'a', 7617, 'F', 'W', 'N', 'Z', 8971, 'h', 9081, 'h', 4427, 'j']

Ex Output:
8801, t, B, V, v, e, p, 9493, 4805, n, V, C, 4657, 6173, 3989, 9599, U, r, s, 5255, 5265


Ex Input:
['x', 4773, 731, 2169, 'Z', 231, 'u', '8437', 'z', 'Q', '8445', 'd', 'z', 6127, 2629], ['h', 'S', 'q', 213, 'u', '8437', 'z', 'Q', '8445', 'd', 'Y', 'A', 'r']

Ex Output:

u, 8437, z, Q, 8445, d