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

Ex Input:
['s', 5961, 'F', 6419, 7317, 2921, 'K', 3199, 2351, 9853, 4811, 3231, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'Q', 7059, 6673], ['Z', 2529, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'x', 825, 'e', 'I', 'G', 'n', 2345]

Ex Output:
5953, 1493, 173, 425, O, L, 9941, J, p, 1999, 9613, 4401, 1875, F, i, 7537, 8471, 1193


Ex Input:
['F', 3199, 9687, 'Y', 'D', 'i', 1221, 6701, 3345, 'D', '6203', '3893', 'W', 'A', 'o', '9143', '4965', '9091', '4113', 'p', 'v', '7373', '1257', '3423', 'K', 935, 2381, 'L', 9625, 3381, 'S', 'N', 't', 7781, 6337, 'e'], ['e', 'p', 133, '6203', '3893', 'W', 'A', 'o', '9143', '4965', '9091', '4113', 'p', 'v', '7373', '1257', '3423', 'f', 7311, 5287, 'J', 'x', 'H', 393]

Ex Output:
6203, 3893, W, A, o, 9143, 4965, 9091, 4113, p, v, 7373, 1257, 3423


Ex Input:
['U', 233, 'S', 7929, 'e', 'I', 'x', 'Q', 'O', 'Y'], ['X', 8175, 317, 6951, 'e', 'I', 'x', 'Q', 'Q', 'U']

Ex Output:

e, I, x, Q