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

Input: Consider Input: [6507, 8623, 6879, '1327', '6971', 'd', 'A', 3663, 7831], [1711, 4751, 3479, '1327', '6971', 'd', 'u', 1771]

Output: 1327, 6971, d


Input: Consider 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]

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


Input: Consider Input: [9879, 'O', 'l', 7283, 5597, 'd', '875', 'o', 'K', 'j', '3567', 'O', 'g', 'K', 5175, 8029, 4775, 6015], ['a', 4583, 5703, 'E', '875', 'o', 'K', 'j', '3567', 'O', 'd', 'w', 's', 8207, 5963]


Output: 875, o, K, j, 3567, O