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

Input: Consider Input: [2785, 'M', 'd', 8001, 'z', 'G', 5661, 2853, 9397, 4757, 'b', 'f', 989, 'U', 'K', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'P', 'G', 'v', 4813, 'G', 6799, 9011, 'z', 4267], ['T', 'j', 'I', 6037, 'w', 'g', 3555, 9897, 9741, 5673, 5825, 407, 2157, 6461, 6095, 4477, 'Y', 'Y', 1773, 'N', 4151, 'j', 2911, 7543, 'b', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'C', 9075, 'j', 'o', 9087, 3137, 'G', 'j', 'p', 'd', 'N', 2085, 831, 1041, 1181, 'Y', 9409, 2267, 'q', 'w', 'w', 'O', 7523]

Output: 3583, 4559, 2581, n, t, s, 987, o, 5487, c, E, 4505, 6765, 8305, N, s, 9393, q, r, 5487, 6365, 9377, M, 6661, 8579, 9899, x, 5739


Input: Consider Input: [2803, 'l', 8379, 'r', 'b', 2363, 'P', 'K', 's', 3999, 't', 167, 'N', '9089', '4973', '7373', '8759', 'W', 'r', '6259', '9427', 'c', 'Q', '2311', '5829', 'O', '7913', '1539', 'r', 'e', 'd', '9025', 'M', 7681, 'e', 'm', 'a', 1365, 'm', 'm', 'v', 'P', 'M', 3649, 7257, 'q', 9843, 831, 'U', 'b'], ['A', 'm', 9121, 'h', 'p', 'k', 'P', 4077, 'd', 3595, 1689, 'D', 'C', 'l', 'I', 'Y', 'N', '9089', '4973', '7373', '8759', 'W', 'r', '6259', '9427', 'c', 'Q', '2311', '5829', 'O', '7913', '1539', 'r', 'e', 'd', '9025', 'K', 2849, 'i', 'K', 'N', 'u', 1811, 967, 2799, 'u', 'C', 637, 1911, 6151, 'L']

Output: N, 9089, 4973, 7373, 8759, W, r, 6259, 9427, c, Q, 2311, 5829, O, 7913, 1539, r, e, d, 9025


Input: Consider Input: [7841, 'd', 9005, 8655, 'q', 8449, 3493, 'd', 'P', 'S', 'p', 8951, 'u', 661, 7287, 'W', '5333', 'h', 'm', '261', '4937', '5979', 'i', 'P', 'n', '1705', '5309', 'j', 'M', 'm', 'P', 'J', '5017', 'C', 'q', '1861', 's', 'p', 4953, 'p', 's', 6247, 'B', 4559, 9265, 'a', 'x', 'N', 'I'], ['w', 4571, 'e', 'i', 8367, 'S', 'v', 'm', 'G', 'X', 8073, 677, 7379, 'o', 'i', 'I', 'd', 'W', '5333', 'h', 'm', '261', '4937', '5979', 'i', 'P', 'n', '1705', '5309', 'j', 'M', 'm', 'P', 'J', '5017', 'C', 'q', '1861', 's', 'j', 'h', 7721, 'B', 1487, 'x', 6041, 3111, 7729, 6109, 8477]


Output: W, 5333, h, m, 261, 4937, 5979, i, P, n, 1705, 5309, j, M, m, P, J, 5017, C, q, 1861, s