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

Input: Consider Input: ['B', 6743, 'l', 'I', 2773, 'a', 8205, 7127, 5877, 8427, 'a', 'F', 929, '2299', 'P', '3045', 'x', 'i', '9095', '4061', 'j', 'd', 'E', 'l', '1497', 'E', 'U', '6491', '1385', 'K', 'k', 'n', 'd', 'u', 'G', 'O', 'B', 5921], [4461, 'g', 'w', 2465, 'N', 85, 2921, 2129, 'z', 6211, 3077, 4427, 4327, 6595, '2299', 'P', '3045', 'x', 'i', '9095', '4061', 'j', 'd', 'E', 'l', '1497', 'E', 'U', '6491', '1385', 'K', 'k', 'n', 'r', 383, 5359, 9209, 'Q', 5765, 5453, 'V', 'w', 'R', 2919, 1949, 'L', 8175, 'g', 'n', 6677, 899]

Output: 2299, P, 3045, x, i, 9095, 4061, j, d, E, l, 1497, E, U, 6491, 1385, K, k, n


Input: Consider Input: [3099, 6093, 4271, 6819, 5389, 'u', 'X', 'e', 7511, 'W', 1089, 7755, 2839, 4489, 9439, 'e', '9795', '8439', 'k', '4309', '4815', '7907', '1999', '8777', 'K', 'z', '6819', '199', '311', 'P', 'c', '7135', 'n', '7681', 'X', 'y', 'e', '6085', 'Z', 'N', 6013, 9677, 759, 8765, 'r', 6787, 'G', 4705, 7571, 'Q', 'k', 4121, 'C', 'H', 'H', 4407, 'b', 'O', 'e'], [4829, 7255, 7697, 'C', 'y', 4555, 'X', 6141, 'b', 'X', 7179, 'W', 1425, 17, 8659, 'H', 'm', 355, 'b', 'u', 'Q', 'C', 'e', '9795', '8439', 'k', '4309', '4815', '7907', '1999', '8777', 'K', 'z', '6819', '199', '311', 'P', 'c', '7135', 'n', '7681', 'X', 'y', 'e', '6085', 'Z', 'J', 9911, 4879, 3849, 'J', 7507, 'n']

Output: e, 9795, 8439, k, 4309, 4815, 7907, 1999, 8777, K, z, 6819, 199, 311, P, c, 7135, n, 7681, X, y, e, 6085, Z


Input: Consider Input: [3547, 2467, 'k', '5819', 'A', '7079', '3267', '4975', 'Y', '6937', 'J', 'N', '1263', '3595', 'H', 'M', '4941', 'w', '847', 'm', 'R', 'z', 'V', 793, 'D', 'R', 'Z', 'U', 4069], ['H', 'G', 2617, 'U', 'S', 1079, 'I', 'E', 1579, 'F', 5073, 'I', 7679, 8437, '5819', 'A', '7079', '3267', '4975', 'Y', '6937', 'J', 'N', '1263', '3595', 'H', 'M', '4941', 'w', '847', 'm', 'S', 1889, 'Z', 4971, 'A', 'X', 9643, 5607, 'S']


Output: 5819, A, 7079, 3267, 4975, Y, 6937, J, N, 1263, 3595, H, M, 4941, w, 847, m