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

Ex Input:
['n', 'B', 9073, 2685, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'Z', 'i', 643, 5111, 2247, 'a', 'D', 'd', 1549, 'y', 513, 9369], ['Q', 'n', 'z', 9967, 'S', 9781, 1179, 'f', 5261, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'G', 215, 'Q', 4821, 9073]

Ex Output:
3289, 9837, 4995, e, 3075, m, 1005, 2279, P, 3949, 643, y, 6717, I, 891, k


Ex Input:
[8523, 2741, 'B', 2283, 2319, 5579, 4895, 1093, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'G', 2491], [17, 6185, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'n', 4549, 'g', 1859, 'f', 'B', 4639, 6413]

Ex Output:
6081, w, j, U, 8951, g, 3325, 6587, 4979, X, x, 8257


Ex Input:
[6257, 'p', 153, 599, 'r', '7483', '8691', '1977', 'q', '3001', '6233', 'l', 'Z', 'Q'], ['K', 4277, 1899, 'x', 'R', 'n', 'r', '7483', '8691', '1977', 'q', '3001', '6233', 'u', 'M', 9721, 1327, 'Y', 'f']

Ex Output:

r, 7483, 8691, 1977, q, 3001, 6233