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

Ex Input:
['m', 'K', 2769, 'i', 'k', 853, 'P', '9255', 'N', '8281', 'f', 'm', 'V', 'a', 3525, 7823, 2111, 'T'], ['Q', 1337, 'I', 'P', '9255', 'N', '8281', 'f', 'm', 'g', 'M', 3873]

Ex Output:
P, 9255, N, 8281, f, m


Ex Input:
['a', 8119, 'S', 2575, 3531, '3727', 'x', 'J', 't', '9825', 'z', 'o', '4043', '3637', '7545', 'F', 'N', 'g', 'c'], [5559, 'P', 'V', 1419, 6507, 'W', 9429, 'V', 9763, '3727', 'x', 'J', 't', '9825', 'z', 'o', '4043', '3637', '7545', 'y', 1229, 'S', 5613]

Ex Output:
3727, x, J, t, 9825, z, o, 4043, 3637, 7545


Ex Input:
[2793, 'J', 'e', 'A', 'n', 1811, 'P', 9485, 't', 'A', 'o', '7901', 'd', '407', '8547', 'X', '8021', '3603', 'P', '1125', '3255', '3107', 'V', 'N', '9915', '3589', 'H', '6393', 'g', 'm', 1035, 'r'], ['L', 'N', 693, 8107, 'q', 'p', 617, 't', 'A', 'o', '7901', 'd', '407', '8547', 'X', '8021', '3603', 'P', '1125', '3255', '3107', 'V', 'N', '9915', '3589', 'H', '6393', 'g', 'z', 8547, 809, 'D', 'Q', 'm', 7693, 611, 'O', 6905, 1025, 'y', 'E', 'e']

Ex Output:

t, A, o, 7901, d, 407, 8547, X, 8021, 3603, P, 1125, 3255, 3107, V, N, 9915, 3589, H, 6393, g