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

Input: Consider Input: [1201, 'x', 'Z', '1951', '6643', '4463', 'N', 'W', '4625', 'w', 'D', 3599, 'B', 2299], ['T', 'z', 'A', 'Z', '1951', '6643', '4463', 'N', 'W', '4625', 'w', 'T', 'M', 'M']

Output: Z, 1951, 6643, 4463, N, W, 4625, w


Input: Consider Input: [3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']

Output: 7241, V, p, i, 6013, X, C, 8145, Y, 2517, z


Input: Consider Input: ['W', 3275, 'v', 5241, '8021', '2841', '9363', '9397', 'Z', 'm', 4961], [4721, 'r', 'H', 'f', '8021', '2841', '9363', '9397', 'Z', 'q', 'l', 6293, 'R', 'Q']


Output: 8021, 2841, 9363, 9397, Z