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

Ex Input:
[9741, 'E', 4251, 8197, 'V', 'd', 'U', 'S', 'l', 4297, 9217, 'O', 6607, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'R', 'u', 587, 'r', 'i', 3977, 's', 'V', 'v', 215, 399, 's', 7561, 25, 3885, 1501, 'W', 7853, 'l', 5145, 'z'], [5441, 169, 9471, 'r', 'i', 7087, 'v', 't', 6273, 'k', 1041, 'd', 'Q', 2227, 5617, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'Z', 'b', 3671, 'y', 9829, 7849, 9049, 'T', 8407, 'M', 'B', 'N', 7837, 2963, 7385, 'K', 8717, 'j', 3621, 75, 'E']

Ex Output:
2517, G, y, a, F, 1035, 823, E, J, a, 3609, 7379, x, Y, M, 1893, O, 4875, z, B, c, 7147, u, 9477


Ex Input:
[5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]

Ex Output:
I, X, o, P, F, Z, N, 3703, V, b, I, 6417, c, 5287, K, 9693


Ex Input:
['L', 9767, 7049, 3697, 1735, 'Q', 'v', 'x', 'N', 8609, 'I', 315, 1843, 'i', 'f', '7731', 'c', 'T', '9815', '917', 'J', 't', 'B', 't', '9733', 'i', '1007', 'J', '3727', 'N', '7275', 'I', 'b', 'f', '5043', '1545', 'R', 's', 'S', 'F', 8745, 517, 1997, 8745, 1381, 9267, 'W', 'A', 'r', 'i', 'V', 'v', 1719, 'b', 'z', 3547, 'S', 'F', 1503], [9177, 'x', 'T', 7383, 'M', 'Q', 1703, 'm', 'm', 'J', 'r', 'Q', 'O', 'N', 'J', 4781, 'f', '7731', 'c', 'T', '9815', '917', 'J', 't', 'B', 't', '9733', 'i', '1007', 'J', '3727', 'N', '7275', 'I', 'b', 'f', '5043', '1545', 'R', 'f', 's', 3173, 2219, 9807, 3003, 4835, 1817, 'V', 'h', 'I', 'U', 9371, 'T', 'K', 'C', 1097, 5555, 8085, 475]

Ex Output:

f, 7731, c, T, 9815, 917, J, t, B, t, 9733, i, 1007, J, 3727, N, 7275, I, b, f, 5043, 1545, R