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

Ex Input:
[5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]

Ex Output:
w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695


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:
[4379, 'e', 7585, 'C', '9169', '5177', '811', '5353', 'N', '2549', '3751', '9299', '3593', '1093', '9651', 'd', '6173', 'X', 'q', 8395, 3949, 'e', 'v', 'Q', 'Z', 'I', 'W'], [1217, 6675, 'v', 'p', 'y', 'B', 'r', 4607, 8805, 'W', 493, '9169', '5177', '811', '5353', 'N', '2549', '3751', '9299', '3593', '1093', '9651', 'd', '6173', 'J', 'I']

Ex Output:

9169, 5177, 811, 5353, N, 2549, 3751, 9299, 3593, 1093, 9651, d, 6173