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

Input: Consider Input: ['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]

Output: z, f, o, L


Input: Consider Input: [4717, 'J', 'B', 'f', 'a', 9035, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'F', 5099], ['Q', 3557, 'y', 2689, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'k', 8835, 'C', 8979]

Output: 3041, 491, 3395, 3117, 4793, 4305, c


Input: Consider Input: ['W', 'w', 'k', 6197, 9707, 'm', 5309, 'e', '6683', 'a', '1527', '1897', '6709', '7627', 'p', '5613', '179', 'D', 'Y', 'e', 'G', 4215, 'w', 'n', 'a', 'u'], ['c', 739, 'q', 'P', 7413, '6683', 'a', '1527', '1897', '6709', '7627', 'p', '5613', '179', 'm', 6503, 'z', 91, 8981, 'k', 'm', 4061, 2149]


Output: 6683, a, 1527, 1897, 6709, 7627, p, 5613, 179