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

Ex Input:
[9673, 'V', 'q', 8183, 4703, '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'Q', 1263, 'd', 'S'], [3777, 'a', 't', 'b', 'P', 'L', 3443, 6611, 1651, 'G', '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'E', 'y', 'U']

Ex Output:
9707, Y, 7685, o, b, a, g, R, 551, W


Ex Input:
[7155, 'R', 5819, 'a', 'C', 4603, 1003, 'W', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'c', 2763, 'W', 'n', 7521, 4855, 9907, 'o', 'C', 1185, 'g'], [9921, 55, 5361, 'k', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'h', 8665, 'O', 633]

Ex Output:
N, Z, q, A, w, r, N, 6611, r, 8975, b, T


Ex Input:
['A', 'w', 'z', '5169', 'U', 8603], [1465, 'S', 'z', '5169', 'F', 'X']

Ex Output:

z, 5169