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

Input: Consider Input: ['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']

Output: 9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G


Input: Consider Input: [3645, 'a', 'r', 'H', 'F', 5289, 'Q', 'S', 'l', 'A', 'i', 'N', 4209, 'Y', 'v', 'l', 'f', 'B', 9611, 8025, 'x', 8141, 3323, 9387, 1457, 2157, 'v', '6997', '1987', '9305', 'c', '9391', 'W', 'q', 'H', 'O', '9283', '5671', '9549', 'M', '881', '6859', '3761', '7565', '2293', '1701', 'p', 'q', 'u', '8057', 'k', '1721', '4713', 'y', 'g', 'b', 5905, 'H', 'Y', 5059, 745, 'd', 1313, 'U', 7783, 'R', 'B'], ['q', 'N', 10023, 'V', 9257, 'y', 563, 'b', 8447, 2529, 'f', 4739, 9195, 'O', 1099, 4353, 'P', 821, 8169, 'S', 'r', 'b', 'v', '6997', '1987', '9305', 'c', '9391', 'W', 'q', 'H', 'O', '9283', '5671', '9549', 'M', '881', '6859', '3761', '7565', '2293', '1701', 'p', 'q', 'u', '8057', 'k', '1721', '4713', 'y', 'g', 'e', 4393, 'j', 'J', 'A', 'I', 'n', 181, 3731, 5323, 3189, 9859, 'Q', 'V', 'E', 2413, 733, 'p', 'U', 3339, 8789, 'd', 4205, 5453, 'I', 1359, 891, 4269]

Output: v, 6997, 1987, 9305, c, 9391, W, q, H, O, 9283, 5671, 9549, M, 881, 6859, 3761, 7565, 2293, 1701, p, q, u, 8057, k, 1721, 4713, y, g


Input: Consider Input: ['S', 6971, 'y', 'u', 107, 6439, 'z', 'P', 'G', 8899, 'Y', 9955, 'V', 'G', 2287, 873, 3233, 'O', 9215, 737, 'J', 2299, 'A', 'S', 'M', 'C', 2099, '4415', '2419', '1599', 'b', '4069', '3075', 'K', '3793', '1849', 'B', '5661', '7963', '9093', '2763', '3321', '5937', 's', 'Q', '3473', 'U', 'I', 'h', 'y', 'A', 'i', 'E', '4239', '5649', '7699', '6421', 'u', 'u', 'c', 'Q', 4825, 'g', 'w', 'y', 'q', 'J', 7761, 2599, 4193, 'I', 8821, 'C', 9677, 'J', 985, 'W', 8161, 8611, 'S'], [1745, 3017, 7711, 967, 'u', 6287, 'B', '4415', '2419', '1599', 'b', '4069', '3075', 'K', '3793', '1849', 'B', '5661', '7963', '9093', '2763', '3321', '5937', 's', 'Q', '3473', 'U', 'I', 'h', 'y', 'A', 'i', 'E', '4239', '5649', '7699', '6421', 'D', 'j', 'w', 'o', 'L', 3037, 2621, 9901, 7151, 2577, 'Q', 'K']


Output: 4415, 2419, 1599, b, 4069, 3075, K, 3793, 1849, B, 5661, 7963, 9093, 2763, 3321, 5937, s, Q, 3473, U, I, h, y, A, i, E, 4239, 5649, 7699, 6421


