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

Ex Input:
[7485, 'Y', 'T', '5979', 'w', 'Q', 'e'], [1525, 4389, 'm', 'T', '5979', 'w', 'w', 1497, 8995]

Ex Output:
T, 5979, w


Ex Input:
[5023, 1633, 6863, 9693, 'p', 3961, 7873, 'O', 'w', 'Y', 'T', 'r', 'H', 7385, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'R', 'g', 6665, 'F', 'X', 'v', 5013, 'X', 'Z', 8567, 'j', 'z', 'S', 3365, 6011, 't', 879], [149, 841, 'w', 9105, 6917, 'M', 'M', 'A', 'o', 'b', 4001, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'D', 'i', 9469, 1355, 7537, 6121, 'I', 9551, 'o', 'u', 'F', 't', 2395, 'K', 9727, 395, 8717, 'z', 'F', 6785, 'i', 'D', 'n', 9731, 103]

Ex Output:
715, Q, 4937, Z, L, 2393, 9021, 7407, 3597, 4273, f, 7643, J, 2705, w, i, 3093, p, E, 4203, 6371, 5797, a, 2223, T, I, 989, 4313


Ex Input:
[1493, 'U', 'B', '6263', 'a', 8309], ['H', 'x', 'B', '6263', 'R', 2719]

Ex Output:

B, 6263