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

Ex Input:
['k', 'l', 3761, 9679, 'Y', 'l', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'Q', 'u', 5953, 5571, 'N'], [8981, 8379, 'h', 9701, 759, 'd', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'l', 5705, 'P', 4009, 1189]

Ex Output:
1953, 7925, 8115, 5243, Y, 3939, 1231


Ex Input:
['R', 'Q', 'Q', 'e', 'C', 'U', 'T', '7509', '8471', 'S', 407, 793], ['G', 'D', 'C', 'U', 'T', '7509', '8471', 'l', 'r', 7861, 6959, 1617]

Ex Output:
C, U, T, 7509, 8471


Ex Input:
['p', 6005, 'R', 3347, '5267', 'B', '7773', '4339', '7347', 'U', 'Q', 'F', '6399', 'j', '3453', 'P', 'U', 'x', 'Z', 493, 'l', 'y', 'd', 1033, 'T'], [9603, 3197, 'r', 'v', 'i', 'E', 'Q', 1155, 'b', '5267', 'B', '7773', '4339', '7347', 'U', 'Q', 'F', '6399', 'j', '3453', 'P', 'U', 'u', 'x', 4111, 2691, 989, 'c', 'R', 'p', 'G']

Ex Output:

5267, B, 7773, 4339, 7347, U, Q, F, 6399, j, 3453, P, U