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', 7309, 'a', 5957, 2551, 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'a', 'M', 'h', 4163, 'n'], ['q', 4457, 'D', 2623, 't', 'F', 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'u', 2719, 'G']

Output: c, 4533, L, 9417, m, 7989, 4409


Input: Consider Input: ['X', 9737, 6673, 165, 5345, 'F', 'I', 'X', 2467, 'X', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'd', 'n', 'E'], [9725, 'G', 121, 'U', 2663, 'I', 'J', 2523, 'S', 'n', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'O', 2705, 5041, 8019, 'P']

Output: I, b, Q, z, v, 3523, 4717, a, A, Q, 5235, 1399, s, 5195, 1327


Input: Consider Input: [6621, 'b', 2773, 'b', 1935, 'P', 6549, 'u', 1929, 'm', 'm', 8965, 'B', 2113, 4307, 'D', 'u', '8055', 'E', 't', 'f', '9037', '8861', '119', '6419', 'L', 'Z', 'u', '407', 's', '3665', 'v', '3857', '4947', 'F', 'V', 'w', 'P', 2319, 9567, 9681, 2075, 'B', 3153], ['w', 's', 4553, 'f', 'C', 1631, 9829, 5521, '8055', 'E', 't', 'f', '9037', '8861', '119', '6419', 'L', 'Z', 'u', '407', 's', '3665', 'v', '3857', '4947', 'F', 'V', 'w', 'a', 'Z', 9793, 2499, 6991, 8167, 6669, 'i', 6263, 67, 'x', 'c']


Output: 8055, E, t, f, 9037, 8861, 119, 6419, L, Z, u, 407, s, 3665, v, 3857, 4947, F, V, w