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

Example Input: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']
Example Output: 3743, 7709, 4991, 1023, z

Example Input: ['e', 439, '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'j', 4931, 7411, 'B', 'H', 'j', 7789], ['F', 'J', '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'R', 'i', 'c', 'k', 'h', 'u']
Example Output: 9737, 9901, J, 4323, J, 3137, G

Example Input: [7995, 487, 6515, 2625, 291, 'p', 'o', 'b', '4853', 'h', '801', 'z', 's', 'r', 'M', 'm', 'z', '8333', '7011', '5431', 't', 6931, 'C', 2085, 'V', 'F', 'D'], ['j', 't', 8535, 2303, 9171, 'M', 'M', 'S', 6777, '4853', 'h', '801', 'z', 's', 'r', 'M', 'm', 'z', '8333', '7011', '5431', 'D', 'g', 'd', 'P', 3781, 6731, 'm', 'S', 1167]
Example Output:
4853, h, 801, z, s, r, M, m, z, 8333, 7011, 5431