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

Ex Input:
[7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']

Ex Output:
6533, o, 47, 6333


Ex Input:
[1527, 6311, 8927, 8605, 'v', '3541', 'b', '9641', '1093', '2649', 'H', '3821', '4251', 'K', 'L', 'J', '5301', '9463', 'z', '1403', 'O', 2283, 'g', 5991, 'B', 'n', 3997, 'G', 8425, 5409, 4395], ['P', 9991, 8325, 'b', 'u', 'v', '3541', 'b', '9641', '1093', '2649', 'H', '3821', '4251', 'K', 'L', 'J', '5301', '9463', 'z', '1403', 'J', 6627, 4667, 4387, 881, 8195, 'G']

Ex Output:
v, 3541, b, 9641, 1093, 2649, H, 3821, 4251, K, L, J, 5301, 9463, z, 1403


Ex Input:
[9009, 3697, 1013, 'i', 'L', 6467, 1331, 521, 'h', 3301, 'M', 'U', 7791, 'b', 643, 6421, 'd', '1625', '7401', '5315', 'w', 't', '5657', 'F', '7051', 'u', 'J', '8693', 'n', '3435', 'm', '1751', '195', 'g', 'j', 'm', 'M', 5869, 'n'], [8217, 6169, 'd', '1625', '7401', '5315', 'w', 't', '5657', 'F', '7051', 'u', 'J', '8693', 'n', '3435', 'm', '1751', '195', 'g', 'j', 'e', 'M', 3, 's', 9597, 'q', 'Q', 'x', 'h', 221]

Ex Output:

d, 1625, 7401, 5315, w, t, 5657, F, 7051, u, J, 8693, n, 3435, m, 1751, 195, g, j