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

Input: Consider Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]

Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u


Input: Consider Input: [2895, 5147, 'w', 'e', 3385, 'm', 'y', 't', 'L', 1739, 8053, 7245, 6403, 8217, 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'l', 'y', 4019, 9049, 'n', 'j', 6871], ['c', 'k', 'E', 'L', 6709, 's', 'M', 3861, 'M', 4297, 5731, 'a', 'V', 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'w', 'd']

Output: k, 9237, F, 4959, 3637, X, 1127, L, 9537, 3871, D, 3747, E, U, b, n, 7893, F


Input: Consider Input: [3675, 'c', 5631, 'M', 323, 5653, 'H', 'h', 4989, 'k', 3721, 53, '2257', 'n', '8345', 'K', 'o', 'C', '9299', '1163', '7713', 'N', '5961', '7063', 'g', '6625', 'J', 'K', '5409', '7237', '1887', 'J', 'L', 'Y', 'G', 'b', '3119', 'v', 4779, 'j', 2673, 'y', 'Z'], ['y', 3451, 2477, 'v', 841, '2257', 'n', '8345', 'K', 'o', 'C', '9299', '1163', '7713', 'N', '5961', '7063', 'g', '6625', 'J', 'K', '5409', '7237', '1887', 'J', 'L', 'Y', 'G', 'b', '3119', 'x', 'j', 'e', 'H', 't', 'Y', 'D', 9593, 'a', 'U', 'L', 'B', 5357, 1349, 'I', 3463, 'Q', 'Z', 8639, 4061, 5579]


Output: 2257, n, 8345, K, o, C, 9299, 1163, 7713, N, 5961, 7063, g, 6625, J, K, 5409, 7237, 1887, J, L, Y, G, b, 3119