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

Ex Input:
[5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]

Ex Output:
9525, B, o


Ex Input:
[2657, 9739, 's', 't', 9269, 'G', 'j', 'R', 'l', 119, 'V', 2753, 'V', 5255, 7821, '1931', '6905', 'u', '6137', '7665', '7679', '7019', 'O', 'F', 'i', 'u', 'L', 'e', 'E', 'G', '8939', 'n', 'Y', 't', 2565, 'c', 'G', 701, 'x'], ['x', 'K', 8907, 9149, 'A', 6585, 't', 7561, 5293, 'j', 9499, 3181, 8867, 'C', 'P', '1931', '6905', 'u', '6137', '7665', '7679', '7019', 'O', 'F', 'i', 'u', 'L', 'e', 'E', 'G', '8939', 'n', 'V', 'E', 2565, 863, 'N', 7535]

Ex Output:
1931, 6905, u, 6137, 7665, 7679, 7019, O, F, i, u, L, e, E, G, 8939, n


Ex Input:
['X', 'Z', 6777, 'I', 'M', 7283, 3395, 8447, 1895, 'Q', '1427', '7849', '7875', 't', 'C', 'b', '9469', 'J', '6495', '3819', '7565', '711', 'f', '309', '9815', '5399', '4971', 'Q', 'I', 'u', 8289, 't', 'U', 'A', 4903, 4739, 'U', 3475, 1827, 'D', 6255, 8663, 7533, 'f', 'a', 4631], ['m', 2071, 2407, 'y', 2795, 1413, 5101, 2747, 161, 'T', 'p', 'Q', '1427', '7849', '7875', 't', 'C', 'b', '9469', 'J', '6495', '3819', '7565', '711', 'f', '309', '9815', '5399', '4971', 'Q', 'E', 6951, 'v', 8035, 9161, 9955, 'C', 2635, 'y', 'B', 761, 'C', 3289, 'A', 6207, 3895, 3603]

Ex Output:

Q, 1427, 7849, 7875, t, C, b, 9469, J, 6495, 3819, 7565, 711, f, 309, 9815, 5399, 4971, Q