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

Input: Consider Input: ['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]

Output: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, 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: [10001, 4673, 'J', 'v', '1429', 'E', 'm', '8619', 'u', '9985', 'K', 'C', 'V', '3449', 'U', 'V', '8473', 'M', '1021', '9899', '4365', 'Q', 'n', 'q', 'X', 'q', 'Q', 4429, 'o', 'd', 'w', 10029, 'Y', 8875, 'I', 'c', 'f', 'o'], [3245, 839, 4871, 'R', 'N', 'e', 'Z', 9053, 3263, 'P', 9647, 3961, 6987, 'i', 'J', 'v', '1429', 'E', 'm', '8619', 'u', '9985', 'K', 'C', 'V', '3449', 'U', 'V', '8473', 'M', '1021', '9899', '4365', 'Q', 'n', 'f', 3733, 8367, 'y', 625, 'Q', 'r']


Output: J, v, 1429, E, m, 8619, u, 9985, K, C, V, 3449, U, V, 8473, M, 1021, 9899, 4365, Q, n