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

Input: Consider Input: [161, 4197, 9653, 'B', 7407, 'S', 'o', 4111, 2533, 5853, 2689, 3885, 4663, 7917, 2761, '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 'G', 833, 'J', 6547, 1275, 'u', 'z', 4137, 1605, 'm', 'c', 7401, 4119, 's'], [6981, 'L', 'b', 'B', 1803, 1413, 5191, 'i', '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 't', 't', 'n']

Output: 8061, 2211, w, O, z, G, F, 1055, 5895, J, L, 2759, l, e, 3601


Input: Consider Input: ['n', 137, 'q', 'Q', 10017, 2119, 'g', 8921, 'L', 'A', 'c', 'U', 7067, 'P', '7789', 'O', 'H', 'h', 'T', 'C', '9427', 'b', '4887', '7659', 'i', 'q', '8123', '7571', '8653', '4961', 'W', 'K', '6323', 'm', '9669', '4821', '6503', 'M', 'N', 4975, 'w', 4937, 9409, 2427, 'n', 7733, 'o', 3717, 141, 'e', 'z', 'X', 'c', 'q', 6443, 'W', 'Q', 'j', 7043, 1977], ['I', 9, 5027, 3147, 1945, 6141, 'u', 2685, 2253, 8359, 'z', 4431, 8465, 3145, 'k', '7789', 'O', 'H', 'h', 'T', 'C', '9427', 'b', '4887', '7659', 'i', 'q', '8123', '7571', '8653', '4961', 'W', 'K', '6323', 'm', '9669', '4821', '6503', 'M', 'B', 'N', 8081, 'W', 'H', 'A', 'w', 'j', 661, 'D', 8029, 49, 'y', 6639, 829, 771, 9575, 7371]

Output: 7789, O, H, h, T, C, 9427, b, 4887, 7659, i, q, 8123, 7571, 8653, 4961, W, K, 6323, m, 9669, 4821, 6503, M


Input: Consider Input: [5849, 'k', 7939, 'R', 'i', 'U', 8717, 'e', 6371, 1527, 5933, 'Z', 5425, 6205, 6455, 5817, 3075, 6439, 'r', 'H', 8429, 6895, 5147, 'K', 'x', 'p', 'j', 'p', '1757', '253', '2085', '2487', '4881', '2007', '4155', 't', 'Q', 'B', 'o', 'p', 'b', '5887', 'f', '6595', 'X', '2617', 'M', 'I', 'm', 'K', 'A', 'P', 8437, 7649, 5991, 5393, 'L', 'M', 'k', 'W', 'Z', 's', 6637, 1899, 'n', 'w', 8323, 3395, 'N', 8559, 3177, 9885, 'V', 3163], ['k', 'r', 517, 3767, 7563, 6801, 'Y', 3851, 'P', 6045, 5783, 21, 'x', 'p', 'j', 'p', '1757', '253', '2085', '2487', '4881', '2007', '4155', 't', 'Q', 'B', 'o', 'p', 'b', '5887', 'f', '6595', 'X', '2617', 'M', 'I', 'm', 'K', 'Q', 3951, 'a', 'c', 'd', 37, 6191, 'f', 1887, 'd', 'U', 415, 759, 6329, 6581, 4787, 'P', 'Q', 1099, 1097, 3237, 2495, 5645, 5445, 'R', 6199]


Output: x, p, j, p, 1757, 253, 2085, 2487, 4881, 2007, 4155, t, Q, B, o, p, b, 5887, f, 6595, X, 2617, M, I, m, K