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

Ex Input:
[9889, 'I', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'm', 2573, 839, 'a', 'S', 9999, 'H', 135, 1089], ['Y', 'a', 9301, 'l', 'v', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'Q', 9865, 7343, 741, 863, 'I', 'M', 'u']

Ex Output:
f, y, 3773, 4483, Y, 2325, M, 247, 8091, H, 3787, 3845, i, L, t, 6949, 6019, 5929


Ex Input:
[3441, 443, 'D', 'n', '5111', 'F', 'T', 'i', 'O', '2763', '417', '9849', '4313', 'I', 3749, 9061, 'W', 'y'], ['O', 9869, 'X', 4785, 6259, 9043, 'h', '5111', 'F', 'T', 'i', 'O', '2763', '417', '9849', '4313', 'w', 'T', 'q', 8411, 't', 4719]

Ex Output:
5111, F, T, i, O, 2763, 417, 9849, 4313


Ex Input:
[4817, 'A', '3155', 'W', 'm', 4061], [7701, 'P', '3155', 'W', 't', 'J']

Ex Output:

3155, W