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

Ex Input:
[2449, 'h', 'F', 2217, 'G', 2655, 'k', 'Y', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'q', 9553, 4023, 127], [849, 7901, 'd', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'r', 'A', 'F']

Ex Output:
8427, 2933, x, 2689, 9305, L, 9263, 2671


Ex Input:
['e', 'W', 'x', 6581, 'y', 4191, 'u', 'B', '6197', '6435', '4975', '5435', 'r', '7329', '4033', 'k', 'j', '5373', '5673', 'd', 'V'], ['i', 'O', 'Z', 211, 1503, 'X', 4315, 'G', 'u', 'B', '6197', '6435', '4975', '5435', 'r', '7329', '4033', 'k', 'j', '5373', '5673', 't', 'C']

Ex Output:
u, B, 6197, 6435, 4975, 5435, r, 7329, 4033, k, j, 5373, 5673


Ex Input:
[9107, 'V', 'Q', 7565, 'R', '5465', '9525', '9845', 'S', 'v', '3091', '3157', 'K', '1301', 'O', 'l', '1017', '7747', '6321', '8009', 'u', 'o', '7205', '1611', 'I', 'R', '627', '5801', '6657', 'q', '3419', 'X', 'C', 'U', 'p', 'V', 9911, 4283, 5281, 6897, 'd', 8363, 8763, 5781, 2063, 7639, 435, 3471, 1193, 'O', 1481, 8209, 'T', 'x'], [1167, 1217, 943, 2227, 'j', 'B', 's', 2277, 6119, 's', 'R', '5465', '9525', '9845', 'S', 'v', '3091', '3157', 'K', '1301', 'O', 'l', '1017', '7747', '6321', '8009', 'u', 'o', '7205', '1611', 'I', 'R', '627', '5801', '6657', 'q', '3419', 'X', 'o', 'r', 9993, 7077, 'S', 1137, 5259, 'x', 491]

Ex Output:

R, 5465, 9525, 9845, S, v, 3091, 3157, K, 1301, O, l, 1017, 7747, 6321, 8009, u, o, 7205, 1611, I, R, 627, 5801, 6657, q, 3419, X