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

Ex Input:
[6183, 4797, '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'L', 'f', 2015], ['U', 'Z', 'q', 583, 'T', 'L', 5311, 'L', 't', 'A', 'W', 6061, 9623, 'x', '4489', 'H', '1839', 'C', '5943', 'D', '2243', 'v', 'R', '2369', '653', 'Z', '4951', 'o', '5709', 'E', '6715', 'E', 'O', 'd', '9889', 'I', 'q', 'X', 9877, 8877, 'R', 5899]

Ex Output:
4489, H, 1839, C, 5943, D, 2243, v, R, 2369, 653, Z, 4951, o, 5709, E, 6715, E, O, d, 9889, I


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:
['o', 6309, 1495, 'p', 5985, 3319, 3987, 'W', '4233', '8805', 'Q', '7583', 'A', '3635', '7909', 'Y', '8611', '9675', '6651', 'S', 'y', 'w', 5831, 9235, 6787], [3055, 'e', 7637, 'X', 'Y', '4233', '8805', 'Q', '7583', 'A', '3635', '7909', 'Y', '8611', '9675', '6651', 'c', 'N', 'm', 1333, 2413, 3729, 2559, 3057, 'R', 'r']

Ex Output:

4233, 8805, Q, 7583, A, 3635, 7909, Y, 8611, 9675, 6651