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

Input: Consider Input: ['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]

Output: 1331, 7235, 8333, a, 4137, b, 9779


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: ['O', 4313, 1091, 's', 'T', 'Y', 'J', 715, 'O', 9685, 2843, 'X', '8235', '331', '4045', 'm', '3207', '7117', 'S', 'b', 'v', '2041', '9841', '2763', '8099', '2825', '5989', 'l', 'B', '5191', '1089', '9559', 'w', 'O', 927, 3639, 'W', 'g', 'C', 'l', 8459, 503, 7487, 5993, 9521, 'K', 'O', 'a', 'k'], [463, 1613, 153, 'B', 1881, 'H', 8021, 'b', 2995, 2771, 'C', 2247, '8235', '331', '4045', 'm', '3207', '7117', 'S', 'b', 'v', '2041', '9841', '2763', '8099', '2825', '5989', 'l', 'B', '5191', '1089', '9559', 'w', 'w', 4789, 779, 1815, 677, 89, 5159, 'q', 'T', 2027, 7967, 'K', 43, 'n', 'o', 3375, 6901, 'M']


Output: 8235, 331, 4045, m, 3207, 7117, S, b, v, 2041, 9841, 2763, 8099, 2825, 5989, l, B, 5191, 1089, 9559, w