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

Ex Input:
['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]

Ex Output:
2891, 7537


Ex Input:
['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]

Ex Output:
1331, 7235, 8333, a, 4137, b, 9779


Ex Input:
['m', 4933, 'k', 't', 'L', 'I', 5025, 'w', 'L', 'K', 'l', 2841, 4535, 6237, 'i', 's', 'Y', 3985, 'O', '4747', '3159', 'X', 'U', 'D', 'z', '7537', 'N', '2227', '7933', '669', 'd', 'l', '2087', 'P', '205', 'z', 'E', 'd', '8779', 'S', 6281, 1917, 1259, 4231, 8249, 'h', 'h', 'p', 7709, 4559, 5315, 9009, 4925, 6807], [3915, 'f', 3701, 3943, 'u', 3265, 2463, 'S', 'O', '4747', '3159', 'X', 'U', 'D', 'z', '7537', 'N', '2227', '7933', '669', 'd', 'l', '2087', 'P', '205', 'z', 'E', 'd', '8779', 3161, 'U', 'W', 9561, 2401, 5973, 'w', 'O', 2529, 6913, 'w', 7405, 'J', 2603, 'P', 7939, 'f', 'O', 'x', 'R', 'm']

Ex Output:

O, 4747, 3159, X, U, D, z, 7537, N, 2227, 7933, 669, d, l, 2087, P, 205, z, E, d, 8779