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

Ex Input:
['R', 't', 'y', '2887', 'x', 4883], [5691, 9457, 'y', '2887', 'u', 'Y']

Ex Output:
y, 2887


Ex Input:
[435, 5991, 'L', 2351, 5221, 6381, 8655, 'U', 'q', 7163, 1771, 'c', 1181, 'v', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'u', 1721, 'W', 4519, 8045, 7749, 7163], ['z', 'Z', 9691, 'b', 'Y', 'A', 'a', 'q', 7549, 'm', 'x', 's', 'b', 5655, 2087, 'f', 'o', 8235, 1383, 'h', 'O', 7531, 'T', 2283, 'r', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'P', 4935, 7767, 4325, 755]

Ex Output:
4831, 8155, D, 3079, 1677, r, 2713, k, 9587, 8141, 3037, 21, 9135, 9197, 3459, P, 915, s, 5539, h, 599, 9937, o, C, 1637, 8921


Ex Input:
['M', 1347, 'Z', 'y', 1291, 'a', 'V', '2661', '6391', '127', '2269', 'z', 'J', 'T', 9161, 'v', 'A', 3909], ['W', 8637, 's', 843, 'Q', 'a', 'V', '2661', '6391', '127', '2269', 'z', 'J', 'w', 'w', 'F', 5107, 2595, 's', 'h']

Ex Output:

a, V, 2661, 6391, 127, 2269, z, J