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

Ex Input:
['w', 9889, 'I', '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'Q', 4079, 8567, 5331, 6035, 't', 6147, 5597, 6117, 'w', 'g', 'R', 'G', 7597, 581, 8473], ['T', 'B', 1003, 'E', 5935, 'a', 7777, 'N', 't', 'w', 9123, 965, 'F', 9067, 'g', 6129, 6545, 977, 'r', 'H', 6793, '8971', '7631', '9073', 'Y', 'O', 'R', 'q', '8353', '6125', '8191', 'x', '3121', 'Z', '7817', 'x', 'K', '9307', 'A', '19', '2297', 'C', 'Y', 't', 'D', 'V', 2257, 323, 'T', 'c', 'w', 3529, 9379, 'J', 779, 'W', 'd']

Ex Output:
8971, 7631, 9073, Y, O, R, q, 8353, 6125, 8191, x, 3121, Z, 7817, x, K, 9307, A, 19, 2297, C, Y, t, D


Ex Input:
[571, 969, 3069, 7455, 'g', 'Z', 237, 8231, 71, 'X', '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'C', 'R', 3217, 1445, 3493, 'Y', 'G', 6747, 751, 1347, 7337, 'Z'], ['z', 'U', 477, 'm', 'y', 7909, 413, 6315, 'v', 7173, 1403, 'F', 'M', 7559, 7589, 9021, 'U', 2859, '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'k', 3817, 'Q', 1165]

Ex Output:
873, N, u, c, n, 759, p, I, 1007, O, V, 9137, G, 1727, 7437, t, 8909, L


Ex Input:
['N', 'D', 'j', 8763, 8215, 'G', 'Z', 'v', 909, 'K', 'p', '3071', 'A', '8545', '3691', 'A', '5101', 'm', '9643', '8351', 'a', '4169', 'x', 'q', '8727', '9725', '4157', 'p', '3653', '3597', '1429', 'B', '1933', 'K', '3411', '1361', '9001', '4231', '8551', 'x', '6641', 'A', 4005, 'o', 8113, 'k', 1775, 3079, 8855, 'o', 'l', 255, 6343, 1891, 9015, 5959, 9905, 2355, 'w', 2921, 477, 'Y', 6563, 'm', 'n'], ['s', 6609, 3025, 'J', '3071', 'A', '8545', '3691', 'A', '5101', 'm', '9643', '8351', 'a', '4169', 'x', 'q', '8727', '9725', '4157', 'p', '3653', '3597', '1429', 'B', '1933', 'K', '3411', '1361', '9001', '4231', '8551', 'x', '6641', 'L', 'I', 1465, 'S', 'L', 9083, 9771, 8751, 'D', 'E', 2919, 'o', 2127, 3959]

Ex Output:

3071, A, 8545, 3691, A, 5101, m, 9643, 8351, a, 4169, x, q, 8727, 9725, 4157, p, 3653, 3597, 1429, B, 1933, K, 3411, 1361, 9001, 4231, 8551, x, 6641