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

Ex Input:
['f', 8855, 'N', 8821, 10001, 6833, 'R', 'I', 1167, 87, 'Y', 'H', 673, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'c', 'd', 'U', 143, 'k', 9757, 943, 'C', 'q', 'u', 'n', 1545, 941], ['T', 7625, 'Y', 'j', 'O', 3075, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'v', 'D', 'g', 'o', 'O', 2255, 'a', 5303, 569, 5721, 'S', 5411, 'E']

Ex Output:
4021, S, 3407, z, 895, j, 9897, U, 3747, S, p, v, y


Ex Input:
['O', 'k', 'E', 281, 'J', 'J', 'z', 9541, 'K', 'Y', 'G', 's', 'J', 'h', 'o', '2303', '603', 'M', '5785', '7949', 'P', '9685', 'd', '801', '5021', '479', 'd', 'A', '1609', 'T', 'b', 'd'], [3187, 1933, 'u', 'E', 'Y', 2413, 'W', 'f', 'V', 9713, 4903, 'f', 'G', 's', 'J', 'h', 'o', '2303', '603', 'M', '5785', '7949', 'P', '9685', 'd', '801', '5021', '479', 'd', 'A', '1609', 'T', 'i', 5937, 'j', 1943, 'N', 9789, 'p', 3693, 2243, 9701, 6051, 6437, 'K', 4251, 5597, 'A', 'O', 'Y', 'P', 2435]

Ex Output:
G, s, J, h, o, 2303, 603, M, 5785, 7949, P, 9685, d, 801, 5021, 479, d, A, 1609, T


Ex Input:
[5481, 7871, 2291, 'g', 'y', '5705', 'O', '183', 'o', '4553', 'P', 'd', 'I', '7079', '745', 'K', 'q', 's', 'E'], [3827, 987, 'u', 1839, 'P', 'g', 'y', '5705', 'O', '183', 'o', '4553', 'P', 'd', 'I', '7079', '745', 'K', 'q', 'K', 'r', 245, 3141, 'k', 8651, 'L']

Ex Output:

g, y, 5705, O, 183, o, 4553, P, d, I, 7079, 745, K, q