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

Ex Input:
[4275, 8037, 5099, 'T', 2089, 'E', 5305, 'r', 'k', 9537, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'O', 2707, 8633, 8875, 9045, 'q'], [3221, 'f', 3167, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'C', 3665, 'm', 6901, 3441, 5601, 6983, 'i', 'z']

Ex Output:
57, v, 6257, 5991, 6455, a, 9565, 885, F, 2219, 2797, 9309, J


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:
[7785, 'L', 8127, '8687', 'I', '1971', 'z', 'X', 'Y', 'f', '8843', 'd', 'N', 1423, 8523, 6599, 'V', 2689, 7457, 'e'], ['j', 9953, 'N', 9563, 'E', 1109, 'u', 'C', '8687', 'I', '1971', 'z', 'X', 'Y', 'f', '8843', 'd', 'z', 'k', 'o', 1169]

Ex Output:

8687, I, 1971, z, X, Y, f, 8843, d