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

Input: Consider Input: ['n', 3489, 8863, 9345, 'f', 461, 8033, 'G', 'e', 1605, 'm', 'U', 4987, 'd', 'n', 3177, 'v', 2785, 'b', 327, 'm', 401, 'p', 5665, 'i', 'C', 'l', 'g', 'g', 'Q', 'C', 'c', '3209', '447', '7129', '2241', 'H', '4843', '9185', 'X', 't', 'r', '1685', 'h', '1763', 'L', '6675', 'y', '5147', 'u', 'X', '393', 'W', 'j', 'e', 'V', 2163, 'j', 'u', 9753, 'C', 'U', 4583, 'v', 'A', 'b', 'W', 'O', 'U', 2827, 'E', 7139, 5949, 'T', 'b', 'J', 8719, 3917, 'H', 'i'], [1275, 7729, 4089, 'r', 'H', 'q', 7305, 'O', 'P', 'D', 511, 'W', 'J', 2939, 4951, 'X', 2757, 'l', 'Q', 'u', 'w', 3201, 'N', 'i', 'C', 'l', 'g', 'g', 'Q', 'C', 'c', '3209', '447', '7129', '2241', 'H', '4843', '9185', 'X', 't', 'r', '1685', 'h', '1763', 'L', '6675', 'y', '5147', 'u', 'X', '393', 'W', 'w', 9803]

Output: i, C, l, g, g, Q, C, c, 3209, 447, 7129, 2241, H, 4843, 9185, X, t, r, 1685, h, 1763, L, 6675, y, 5147, u, X, 393, W


Input: Consider Input: ['E', 'P', 'Z', '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'x', 9461, 2587], [9027, 289, 2515, 'k', 'N', 'i', 9689, '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'r', 'x', 737, 'a', 'w', 'K', 'S']

Output: 8337, L, 4245, M, M, H, 4531, B, p, 6961


Input: Consider Input: ['d', 825, 1133, 'x', 6023, 5635, 9247, 4215, 1911, 5023, 6563, 7711, 2561, 'n', '1367', 'K', '5281', '661', '915', 'm', 'w', '5219', 'M', '2051', '1181', '1869', 's', 'l', 'p', '9673', 'U', 4523, 'E'], [9899, 7819, 8855, 787, 'Z', 9609, 'B', 'u', 269, 'k', 1845, 'A', 'i', 8053, 'i', '1367', 'K', '5281', '661', '915', 'm', 'w', '5219', 'M', '2051', '1181', '1869', 's', 'l', 'p', '9673', 'X', 3661, 6657, 'Q']


Output: 1367, K, 5281, 661, 915, m, w, 5219, M, 2051, 1181, 1869, s, l, p, 9673