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: [5189, 6517, 7263, 3907, 'I', 7869, 8561, 'M', 'X', 1055, 'N', 533, 9903, 'p', 5241, 'L', 4649, 'R', 'G', '3873', 'o', '4565', 'I', '9949', 'k', 'H', 'o', 'M', '7819', 'q', '3397', '739', '9863', '4743', 'n', '8999', 'G', '1411', 'L', 't', 'm', 'k', 6041, 'L', 'V', 9697, 7967, 't', 'L', 'i'], [1055, 2831, 3023, 8711, 'E', 6059, 'v', 'E', 'M', 4133, 'Q', 249, 'Q', 5195, 5607, 'G', '3873', 'o', '4565', 'I', '9949', 'k', 'H', 'o', 'M', '7819', 'q', '3397', '739', '9863', '4743', 'n', '8999', 'G', '1411', 'Q', 8961, 5471, 613, 4235, 'g', 'N', 9513, 9767, 'j', 't', 'I']

Output: G, 3873, o, 4565, I, 9949, k, H, o, M, 7819, q, 3397, 739, 9863, 4743, n, 8999, G, 1411


Input: Consider Input: [1817, 5343, 'n', 1259, 6681, '6053', '1683', '5261', 'X', 'z', '3163', 'c', '2907', '6021', 'J', 'y', '3123', '4751', 'J', 'I', '6085', 'u', 'l', 'i', 4577], ['o', 79, 43, 5151, 'N', 'h', 'i', 'v', 'V', '6053', '1683', '5261', 'X', 'z', '3163', 'c', '2907', '6021', 'J', 'y', '3123', '4751', 'J', 'I', '6085', 'u', 'v', 167, 6243, 'j', 8889, 's', 'Z', 4713, 4581, 8089, 5021, 6455]


Output: 6053, 1683, 5261, X, z, 3163, c, 2907, 6021, J, y, 3123, 4751, J, I, 6085, u