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

Ex Input:
[4041, 'A', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'H', 4635, 7087, 8857, 1057, 1877, 'U', 'V', 7175, 'r', 4599], [801, 8323, 7503, 'U', 381, 'd', 'y', 453, 1687, 'R', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'j', 2559, 3465, 'C', 'I', 5493, 'X', 'r']

Ex Output:
9609, E, r, d, u, S, 7397, 8573, 4893, T, t, K, 7425, E, J, Q, U, 1407, 3419, 1193, H, 7525


Ex Input:
['B', 'r', 5629, 4409, 7197, 'N', 'x', 'I', '6145', 'i', 'Q', '1033', '2945', 'K', '4931', 'y', 6505, 9149, 'E', 3067, 819], [2523, 'f', 2623, 'I', '6145', 'i', 'Q', '1033', '2945', 'K', '4931', 'a', 5449, 9193, 6325, 'i', 6901, 'E']

Ex Output:
I, 6145, i, Q, 1033, 2945, K, 4931


Ex Input:
[4067, 'G', 'e', 'x', 'Q', 'G', 'D', 2735, 6843, 4601, 's', 'X', 3053, 7101, 'y', 1759, 'K', 'F', 'E', '6485', '9123', '6665', 'Q', '7221', '3361', '7109', 'I', 'l', '9789', '941', '9011', 'n', '1531', 'V', 'M', 'f', '4557', '7237', 'N', 'M', '1579', '1815', 'q', 'V', 6689, 'z', 5261, 'B', 'j', 265, 3327, 'G', 'g', 'g', 737, 553, 3839, 8027], ['Y', 'P', 'V', 7229, 433, 7499, 1593, 4005, 'q', 5451, 'w', 'O', 2915, 'b', 'n', 8327, 2259, 7655, 'A', 'S', '6485', '9123', '6665', 'Q', '7221', '3361', '7109', 'I', 'l', '9789', '941', '9011', 'n', '1531', 'V', 'M', 'f', '4557', '7237', 'N', 'M', '1579', '1815', 's', 'a', 2581, 7361, 'F', 'E', 'Y', 'q', 8467, 'e', 'd', 'n', 'j', 'M', 6303, 'w', 1141, 8705]

Ex Output:

6485, 9123, 6665, Q, 7221, 3361, 7109, I, l, 9789, 941, 9011, n, 1531, V, M, f, 4557, 7237, N, M, 1579, 1815