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

Ex Input:
['A', 'Y', 'B', 5539, 'i', 'u', 3953, 7153, '3019', '4737', 'Q', 'Z', '223', '7501', '1205', 'u', 'F', 'i', 4673, 5277, 2169, 'v'], [7917, 'p', 'K', 'D', 'S', 'U', 'w', '3019', '4737', 'Q', 'Z', '223', '7501', '1205', 'u', 'd', 8111, 'Q', 'b', 7059, 'L', 'u', 5107]

Ex Output:
3019, 4737, Q, Z, 223, 7501, 1205, u


Ex Input:
['z', 'j', 'G', 'w', 'h', 5009, 'z', 'r', '1279', 'z', '1337', 'R', 'R', 9761, 'D', 713], ['a', 'T', 'A', 'z', 'r', '1279', 'z', '1337', 'R', 'J', 'z', 'L', 'P']

Ex Output:
z, r, 1279, z, 1337, R


Ex Input:
['s', 6841, 5081, 't', 'W', 'S', 3447, 6035, 'l', 'M', '2245', 'C', 's', '2959', '3965', '6725', '5003', '973', '8731', 'i', 'W', '877', '9683', '3371', 'c', 'E', 't', 7337, 8557, 'O', 'F', 'x', 'W', 'g', 'C', 'x', 2089], ['a', 'H', 5691, 'x', 5359, 7485, 'P', 'n', 'r', 'P', 'o', 'g', '2245', 'C', 's', '2959', '3965', '6725', '5003', '973', '8731', 'i', 'W', '877', '9683', '3371', 'c', 'Z', 'x', 'Z', 'L', 'K', 1219, 'd', 'O', 'h']

Ex Output:

2245, C, s, 2959, 3965, 6725, 5003, 973, 8731, i, W, 877, 9683, 3371, c