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

Example 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]
Example Output: 1331, 7235, 8333, a, 4137, b, 9779

Example Input: ['L', 5499, 'z', 'J', 'I', 't', 6291], [337, 5087, 'z', 'J', 'I', 'p', 'm']
Example Output: z, J, I

Example Input: ['X', 8857, 'N', 'e', '2335', '2241', '7197', 'z', 'F', 'V', 7469], ['P', 'l', 51, 'm', 'e', '2335', '2241', '7197', 'V', 3855, 1713]
Example Output:
e, 2335, 2241, 7197