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

Ex Input:
[5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]

Ex Output:
6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259


Ex Input:
['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]

Ex Output:
z, f, o, L


Ex Input:
['K', 'd', 'W', 6647, 6793, 'U', 3951, 'q', 'Q', 203, 'j', 8131, 'i', 9373, 'o', 'A', 'i', 'k', 'n', '825', 'M', 'b', '9309', '3459', '1507', 'E', 'D', '463', 'S', 'k', '6975', '7811', '6037', '2797', '5381', '2819', 'N', '1989', 's', 'v', 'M', '6453', '2801', 'v', 4763, 'Y', 2061, 9527, 1435, 'z', 5171, 'n', 'x', 'k', 'b', 4165, 'N', 7469, 'D', 'r', 'I', 3535], ['E', 'N', 'H', 'n', '825', 'M', 'b', '9309', '3459', '1507', 'E', 'D', '463', 'S', 'k', '6975', '7811', '6037', '2797', '5381', '2819', 'N', '1989', 's', 'v', 'M', '6453', '2801', 'N', 'I', 5785, 'I', 3217, 6275, 7381, 'q', 'l', 'e', 'L', 711, 'g', 'G', 7243, 8213, 'W', 6239, 3759, 709, 8273, 3451, 3073, 2527, 1777]

Ex Output:

n, 825, M, b, 9309, 3459, 1507, E, D, 463, S, k, 6975, 7811, 6037, 2797, 5381, 2819, N, 1989, s, v, M, 6453, 2801