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

Ex Input:
['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]

Ex Output:
h, z, 6979, W, W, 7681, s, 8827


Ex Input:
['Y', 6449, 'w', 5543, 4639, 1899, 'd', 3489, 'x', 'c', 2891, 'H', 9885, 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'P', 'M', 'D', 'U', 6013, 5931, 2445, 'f', 7619, 'm', 6105, 'l'], [453, 583, 'Q', 5309, 2713, 'E', 5809, 'w', 'T', 9873, 4971, 8173, 1659, 2277, 'y', 8653, 1569, 'M', 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'C', 'W', 'r', 'x', 'H', 3247, 'G', 'R', 7035, 6599, 'U', 't']

Ex Output:
t, N, s, A, E, 3601, p, n, m, y, 6587, v, 247, k, 7529, T, 623, 8713, 7551, 3433, 7981, q, F, n, 3275, 3265, n


Ex Input:
[7255, 'A', 'F', 'k', '7223', 'b', '3871', '9165', 'W', 'c', '5253', '9445', 'q', 'B', 'Y', 5637, 'd', 'H', 'f', 915, 6017, 'p', 2453, 7355], ['P', 'u', 'F', 'k', '7223', 'b', '3871', '9165', 'W', 'c', '5253', '9445', 'q', 'p', 7133]

Ex Output:

F, k, 7223, b, 3871, 9165, W, c, 5253, 9445, q