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: ['i', 2153, 8879, 'Q', 9403, 6667, 'E', 1829, 'b', 'j', 1907, 9167, 3331, 'T', 't', 6039, 'i', 'z', 4097, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'H', 'B', 'Y', 'q', 2151, 129, 'd', 'I', 'N', 5573, 'S', 'x', 5201, 'J', 2507, 'Y', 4951, 'b', 8655, 7611, 5419, 3559], ['K', 6565, 'L', 'E', 4757, 'x', 'W', 't', 'X', 's', 2289, 2227, 'm', 's', 661, 8723, 'P', 'U', 'S', 7791, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'K', 4161, 'e', 'z', 't', 8701, 5515, 8391, 'C', 9017, 3623, 3777, 'z', 'O', 'w', 7551, 4971, 'U']

Output: 1959, U, q, 8789, z, 6135, K, 147, 6933, 3647, 9265, 10015, 4259, 7919, 2077, 3797, 631, 7453, e, 7297, 4417, 2479


Input: Consider Input: [5085, 'Q', 'B', 5223, 'y', '3545', '1477', '3571', '4297', '535', '6613', 'X', 'J', 'x', 'Y', 'o', '2153', '9699', 'Z', 'J', '8377', '3515', '8337', '2121', 'C', 'F', 'g', 5163, 'm', 5633, 'n', 'v', 4753, 4455, 'D', 5763, 'x', 887], [5471, 9379, 'V', 803, 'G', 2491, 'y', '3545', '1477', '3571', '4297', '535', '6613', 'X', 'J', 'x', 'Y', 'o', '2153', '9699', 'Z', 'J', '8377', '3515', '8337', '2121', 'C', 'F', 'R', 7643, 5789, 'v', 'x', 6891, 'P', 'C', 8837, 'd', 9507]


Output: y, 3545, 1477, 3571, 4297, 535, 6613, X, J, x, Y, o, 2153, 9699, Z, J, 8377, 3515, 8337, 2121, C, F