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

Ex Input:
['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]

Ex Output:
8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163


Ex Input:
['u', 'U', 'a', 'Z', 'b', 'Q', 'D', 5239, 6595, 1793, 'f', '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'm', 867, 585, 1765], [5201, 'W', 'a', 'k', 9031, 4815, '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'X', 2991, 3377, 2933, 5359, 6073, 8921, 789, 'W', 7037, 9953, 'N', 8007, 1755, 1959, 9619]

Ex Output:
7733, 5727, 3047, 4951, 8907, D, 5105, i, 1837, i, Y, b, 5769, p, 1767, Y, B, q, 4075, 917, c


Ex Input:
[2559, 8603, 6849, 'N', 1009, 'c', 4509, 'o', 'c', 1821, 'H', '6093', '481', '1269', 'D', '4931', '4981', '2639', '7531', '9929', 'M', 'Q', 'E', 'W', 'R'], ['T', 8349, 'r', 'B', '6093', '481', '1269', 'D', '4931', '4981', '2639', '7531', '9929', 'M', 'Q', 'E', 'A', 6607, 8285, 4663, 6867, 6151, 'D', 8485, 'K', 'h']

Ex Output:

6093, 481, 1269, D, 4931, 4981, 2639, 7531, 9929, M, Q, E