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

Ex Input:
['B', 's', 'G', 3817, 'Y', '3253', 's', 'W', '2755', 'I', '8231', 'T', 'm', 'j', '1003', '133', 'o', 'Y', 'Y', 'N', 'Q', '8799', '3455', 'B', 997, 8067, 3771, 1367, 1903, 811, 'Z', 8913], ['l', 223, 's', 'B', 'H', 9633, 6875, 'O', 5231, 'Y', '3253', 's', 'W', '2755', 'I', '8231', 'T', 'm', 'j', '1003', '133', 'o', 'Y', 'Y', 'N', 'Q', '8799', '3455', 'O', 'k', 'l', 5187, 'j', 9867, 'Z', 8963, 'b', 2165, 213, 'r', 9723, 's', 8303]

Ex Output:
Y, 3253, s, W, 2755, I, 8231, T, m, j, 1003, 133, o, Y, Y, N, Q, 8799, 3455


Ex Input:
['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']

Ex Output:
4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z


Ex Input:
[2757, 'p', 'q', 'X', 7509, 'r', 8559, 941, 9417, 4557, 4159, 'f', 'L', 'g', 'O', '5787', '537', 'V', '6693', '1049', 'R', '305', 'B', 'i', 'd', '8111', 'V', '1271', 'S', 'L', 'Q', 'O', 'Z', 'o', 'y', 2833, 2751, 3443, 6103, 6291, 8945, 2413, 4255, 'T', 1083, 'U', 'm'], [8699, 8091, 7953, 3003, 'O', 8129, 'x', 7839, 'p', 273, 'P', 'j', 'i', 4647, 'l', '5787', '537', 'V', '6693', '1049', 'R', '305', 'B', 'i', 'd', '8111', 'V', '1271', 'S', 'L', 'Q', 'O', 'C', 'V']

Ex Output:

5787, 537, V, 6693, 1049, R, 305, B, i, d, 8111, V, 1271, S, L, Q, O