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

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: [4041, 'A', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'H', 4635, 7087, 8857, 1057, 1877, 'U', 'V', 7175, 'r', 4599], [801, 8323, 7503, 'U', 381, 'd', 'y', 453, 1687, 'R', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'j', 2559, 3465, 'C', 'I', 5493, 'X', 'r']

Output: 9609, E, r, d, u, S, 7397, 8573, 4893, T, t, K, 7425, E, J, Q, U, 1407, 3419, 1193, H, 7525


Input: Consider Input: [947, 4473, 'o', 't', 7369, 'U', 'G', 'o', 'd', 'c', 'H', 'i', '7403', 'R', 'V', 'B', 'U', '6713', 'y', 'q', 'W', '2901', '6277', 'O', 'a', 3363, 2413, 8427, 4685, 2115, 9225, 6179, 3225, 1433, 'v', 8731, 4707, 4973], [3451, 7563, 'k', 1885, 3497, 'z', 5341, 'l', 'm', 'l', 'd', 'c', 'H', 'i', '7403', 'R', 'V', 'B', 'U', '6713', 'y', 'q', 'W', '2901', '6277', 'O', 'U', 'T', 5653, 6537, 7217, 7243, 7209, 'Y', 1551, 's', 'Z', 'E']


Output: d, c, H, i, 7403, R, V, B, U, 6713, y, q, W, 2901, 6277, O