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

Ex Input:
[3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']

Ex Output:
7241, V, p, i, 6013, X, C, 8145, Y, 2517, z


Ex Input:
[5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']

Ex Output:
B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D


Ex Input:
[7101, 9943, 67, 'a', 4583, 8301, 'u', 'H', 'F', 7195, '5155', '9855', 'x', 'b', '7383', '8169', 'K', 'O', 'Y', '7423', 'A', 'L', '2507', '9983', 'I', 9405, 'r', 'A', 'N', 717, 607, 'q', 7431], ['p', 'U', 'E', 'I', 'K', '5155', '9855', 'x', 'b', '7383', '8169', 'K', 'O', 'Y', '7423', 'A', 'L', '2507', '9983', 'Z', 'n', 1747, 'Y', 8457, 'C', 'q']

Ex Output:

5155, 9855, x, b, 7383, 8169, K, O, Y, 7423, A, L, 2507, 9983