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

Ex Input:
[5225, 'L', 1023, 8623, 'k', 'f', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'b', 517], [1243, 't', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'x', 5545, 's', 'a']

Ex Output:
1481, e, m, 4013, l, 831, n, 3137


Ex Input:
['F', 175, 'f', 8443, 3869, 'X', 8987, 's', 'x', 'r', '6805', '843', 't', 'g', 'T', '8865', 'K', '9607', 'G', '4521', 'z', 'E', 'T', 9337, 'B', 3133, 10013], [2067, 3211, 'U', 'S', 8949, 'N', 'r', '6805', '843', 't', 'g', 'T', '8865', 'K', '9607', 'G', '4521', 'z', 'Q', 1511, 'X', 1105, 3303, 'u', 8705, 'j']

Ex Output:
r, 6805, 843, t, g, T, 8865, K, 9607, G, 4521, z


Ex Input:
['b', 1125, 'e', 1269, 'j', 8951, 'z', 'U', 2011, 'X', 'M', '2159', 'K', 'o', '3003', 'J', 'F', 'A', '2093', '1683', '1719', 'E', 'z', 't', 'l', 't', '7889', 'r', '481', '4717', '245', '2873', 'f', '4437', 'b', '9241', 'O', '2001', 'k', 'S', 'H', 627, 4055, 'J', 'S', 6703, 8681, 'b', 'Q', 4513, 8537, 'C'], [8035, 1323, 7297, 9787, 5505, 1471, 6607, 153, 'q', 'N', '2159', 'K', 'o', '3003', 'J', 'F', 'A', '2093', '1683', '1719', 'E', 'z', 't', 'l', 't', '7889', 'r', '481', '4717', '245', '2873', 'f', '4437', 'b', '9241', 'O', '2001', 'k', 'S', 'v', 'C', 'n', 'v', 8225, 'L', 8633, 'M', 179, 3237, 'B', 'Q', 't', 9113, 'f', 'B', 389]

Ex Output:

2159, K, o, 3003, J, F, A, 2093, 1683, 1719, E, z, t, l, t, 7889, r, 481, 4717, 245, 2873, f, 4437, b, 9241, O, 2001, k, S