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

Input: Consider Input: ['M', 6637, 'd', 'D', 8611, 'U', 'm', 'y', 8085, 'M', 'W', 4845, 'l', 2477, 'f', 'B', 's', 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'c', 'b', 9083, 9449, 7629, 5633, 3843, 'R', 9421, 2693, 'M', 'b', 3739, 'l', 333], [6017, 'W', 2775, 'W', 4759, 'W', 'q', 'k', 'f', 4299, 5523, 'E', 5391, 'd', 2611, 'l', 5849, 9603, 3831, 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'o', 4621, 'N', 'c', 'R', 'V', 'p', 'm', 7625, 9815, 'b', 8449]

Output: D, 7597, S, 2907, o, 1905, p, S, C, S, 6403, D, V, 5265, L, D, 6031, 2585, 7087, 3941, 573


Input: Consider Input: ['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']

Output: 4623, M, d, 5977, 7669, 8583, 2455, D, j, c


Input: Consider Input: [7445, 'X', 5295, 'b', 1343, 6665, 8857, 'I', 'G', 7821, 2847, 'Q', 'c', 7527, 3809, 4599, 9975, 6811, 'b', 'm', 'W', '655', '2747', 'E', '9087', '4607', '3167', '3189', 'S', 'I', 'k', 'x', 'r', '6463', '1891', '6939', 'z', '359', '9319', '8009', 'G', '1155', '8537', 'Y', 'q', 277, 8001, 'q', 'i', 6579, 'X', 'w', 'Q', 'V', 'w', 1207, 'k', 'o', 1397, 'o', 7339], ['Q', 'W', 975, 6567, 1991, 5369, 'V', 9613, 'f', 'b', 'm', 'W', '655', '2747', 'E', '9087', '4607', '3167', '3189', 'S', 'I', 'k', 'x', 'r', '6463', '1891', '6939', 'z', '359', '9319', '8009', 'G', '1155', '8537', 'O', 'E', 3685, 'v', 'H', 'a', 'Q', 'X', 2425, 'O', 1589, 'C', 'U', 6729, 1085, 827, 1317, 'x', 7413, 't', 5173, 'P', 5849]


Output: b, m, W, 655, 2747, E, 9087, 4607, 3167, 3189, S, I, k, x, r, 6463, 1891, 6939, z, 359, 9319, 8009, G, 1155, 8537