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

Ex Input:
['Q', 4345, 'U', 6921, 'y', 57, 8287, 8385, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'X', 'V', 2801], [3259, 'S', 'e', 'n', 'c', 'B', 'O', 217, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'j', 'I', 5767, 'X', 8283, 8895, 'd', 8329]

Ex Output:
O, 3359, S, 7355, 2263, d, d, i, t, E


Ex Input:
['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]

Ex Output:
h, z, 6979, W, W, 7681, s, 8827


Ex Input:
[5305, 'd', 4705, 4803, 'D', 'w', 'q', 8155, 7707, 'p', 'C', 3289, 'o', 'H', 8485, 'o', '4993', '9769', '6335', 'v', 'i', 'l', '597', '7443', '8593', '7581', 'y', '6301', 'z', '5195', 'r', '4371', 'f', 'T', 'B', '1811', 'R', '2081', 't', '9279', 'M', 'U', 2693, 'V', 'l', 6963, 6663, 3721, 7193, 1009, 'R'], ['B', 'b', 8877, 6581, 6163, 9659, 7247, 9807, 7313, 'u', 'H', 5993, 807, 8275, 9903, 'X', 'x', 715, 7501, 't', 5587, 6943, '4993', '9769', '6335', 'v', 'i', 'l', '597', '7443', '8593', '7581', 'y', '6301', 'z', '5195', 'r', '4371', 'f', 'T', 'B', '1811', 'R', '2081', 't', '9279', 'I', 'I', 4129, 'Y', 'f', 'L', 'm', 'A', 6223, 'F']

Ex Output:

4993, 9769, 6335, v, i, l, 597, 7443, 8593, 7581, y, 6301, z, 5195, r, 4371, f, T, B, 1811, R, 2081, t, 9279