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

Ex Input:
['k', 'l', 3761, 9679, 'Y', 'l', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'Q', 'u', 5953, 5571, 'N'], [8981, 8379, 'h', 9701, 759, 'd', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'l', 5705, 'P', 4009, 1189]

Ex Output:
1953, 7925, 8115, 5243, Y, 3939, 1231


Ex Input:
[5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]

Ex Output:
6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259


Ex Input:
['d', 4819, 'e', 'U', 3367, 'A', 2891, 3609, 5285, 'k', 'I', 9637, 'K', 9901, 'D', 'd', '9543', 'g', '1015', '6077', 'b', '3117', 'z', 'A', 'l', '4325', '5051', 'w', 'b', 'V', 'B', 9731, 9421, 4951, 8917, 'p', 'k', 6935, 653, 'g'], ['P', 599, 'D', 'd', '9543', 'g', '1015', '6077', 'b', '3117', 'z', 'A', 'l', '4325', '5051', 'w', 'l', 5193, 8403, 9443, 5691, 'b', 2699]

Ex Output:

D, d, 9543, g, 1015, 6077, b, 3117, z, A, l, 4325, 5051, w