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

Ex Input:
[8431, 'L', 809, 'V', 3993, '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'T', 'O', 'o'], [9535, 4859, 4223, 9541, 8281, 'L', 'M', 'W', 'Q', '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'M', 7209, 7775, 'I', 'n', 'l', 7173, 'E', 'L', 'h']

Ex Output:
5725, g, 1797, 8531, i, 1975, Y, U, 2979, E, 9345


Ex Input:
[5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]

Ex Output:
9525, B, o


Ex Input:
[8347, 'o', 3731, 9019, 'Q', 'H', '1739', 'f', 'd', '6191', 'r', '5599', 'Y', 'z', '7915', 'l', 'k', '2297', 'u', 'Z', 'U', 'B'], [9875, 243, 2267, 5729, 2255, 'F', 'G', 5053, 2621, 6643, 'l', 'H', '1739', 'f', 'd', '6191', 'r', '5599', 'Y', 'z', '7915', 'l', 'k', '2297', 'M', 8323, 7887, 2991, 10021, 367, 'e', 1205, 'S']

Ex Output:

H, 1739, f, d, 6191, r, 5599, Y, z, 7915, l, k, 2297