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

Input: Consider Input: ['R', 437, 'S', 'N', 'H', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'B', 3579, 'v', 8529, 'i'], ['w', 'j', 'X', 'G', 'I', 4567, 'H', 'w', 8869, 4535, 'L', 'q', 'u', 'V', 'L', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'R', 155]

Output: 3615, w, j, N, 6991, 7577, O, z, k, F, T, 3585, 5505, 5485, f


Input: Consider Input: [5861, 'Z', 1225, '3813', '8297', 't', '9301', 'd', 9323, 825], [5491, 'a', '3813', '8297', 't', '9301', 'Y', 'L', 'j', 5005]

Output: 3813, 8297, t, 9301


Input: Consider Input: [4351, 7431, 9011, 'z', 'W', 'j', '3589', '8471', 'O', '5949', '4621', '7963', '7073', 'm', 'h', '6997', '515', 'S', '4543', 'E', '8089', 'U', '8891', 'j', 'e', 1201, 'X'], ['h', 'v', 'p', 5643, 't', 9579, 3589, 'b', 9213, 'Y', 'V', 1087, 'z', 'W', 'j', '3589', '8471', 'O', '5949', '4621', '7963', '7073', 'm', 'h', '6997', '515', 'S', '4543', 'E', '8089', 'U', '8891', 'H', 'w', 8743, 'F', 'Y', 3803, 8951, 'w', 2077, 9835, 3277]


Output: z, W, j, 3589, 8471, O, 5949, 4621, 7963, 7073, m, h, 6997, 515, S, 4543, E, 8089, U, 8891