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

Ex Input:
['Y', 7191, 'w', 'I', 2387, 3493, 'F', 9797, 4797, '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'p', 5525, 3953, 1931, 6723, 7597, 9781, 8621, 'f', 6959, 4341, 5543], [7099, 'h', 'm', 1247, 'F', 2321, 'G', 'c', 'a', 57, 7997, 'Y', '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'd', 'k', 3051, 647]

Ex Output:
1075, i, 2867, 6269, X, 8729, u, X, g, 8731, L, 3791, I, 6677, x


Ex Input:
[621, 7677, 'b', '889', '6721', 'H', 'd', 'S'], [8151, 'F', 'b', '889', '6721', 'h', 4123]

Ex Output:
b, 889, 6721


Ex Input:
['H', 'I', 'd', 9867, 'Z', 6973, 'C', 'r', 8159, 'c', 'B', 8115, 8795, 'h', 'h', 'S', 'D', '63', 'A', '605', '7367', 'H', '949', '3317', 'm', 'd', 'W', 'g', 'b', '3303', 'g', 'l', 'W', 'M', 'K', 'n', 4237, 'X', 'y', 'x', 'd', 8009, 115, 1043], ['l', 1191, 'v', 1501, 'g', 4733, 'x', 6083, 'p', 8115, 5195, 7293, 'C', 'J', 'u', 'h', 'h', 'S', 'D', '63', 'A', '605', '7367', 'H', '949', '3317', 'm', 'd', 'W', 'g', 'b', '3303', 'g', 'l', 'k', 9109, 'R']

Ex Output:

h, h, S, D, 63, A, 605, 7367, H, 949, 3317, m, d, W, g, b, 3303, g, l