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: ['Q', 4345, 'U', 6921, 'y', 57, 8287, 8385, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'X', 'V', 2801], [3259, 'S', 'e', 'n', 'c', 'B', 'O', 217, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'j', 'I', 5767, 'X', 8283, 8895, 'd', 8329]

Output: O, 3359, S, 7355, 2263, d, d, i, t, E


Input: Consider Input: [9227, 4515, 2445, 9787, 'Q', 'Y', 'F', 'S', 9601, 'u', 7583, 9257, 3967, 6825, 'Q', 1101, 2547, 3315, 'g', 9347, 9765, 7701, '7449', '3891', 'H', '5253', 'h', '2265', '4763', '5147', 'U', 'f', 'V', 'u', 'l', '1251', '253', 'n', 'r', 'e', 'q', '4997', '1731', 'L', '5353', 'c', 'K', '2957', 'B', '9329', '5323', 'n', 'T', 'F', 'O', 1711, 7675, 4223, 9071, 9181, 'e', 8585, 'j', 'W', 9869, 'p', 1139, 3257, 'Q', 8681, 2253, 'Q', 'G', 'W', 4455, 'R', 'f', 'W', 7543, 'A'], [8993, 'q', 'V', 4619, 6767, 'p', 'O', 'e', 'w', 'R', 5931, 'p', 'H', 3037, 'b', 'w', 6287, 1445, 'x', 4569, 3861, 'W', 8131, 't', 'H', 'm', 331, 6861, 'R', '7449', '3891', 'H', '5253', 'h', '2265', '4763', '5147', 'U', 'f', 'V', 'u', 'l', '1251', '253', 'n', 'r', 'e', 'q', '4997', '1731', 'L', '5353', 'c', 'K', '2957', 'B', '9329', '5323', 'b', 7115, 8789, 'I', 3777, 3187, 'r', 'g', 'z', 6213, 1753, 4389]


Output: 7449, 3891, H, 5253, h, 2265, 4763, 5147, U, f, V, u, l, 1251, 253, n, r, e, q, 4997, 1731, L, 5353, c, K, 2957, B, 9329, 5323