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

Example Input: [6103, 'W', 'k', 931, 'r', 'v', 'w', 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'b', 'w'], [9617, 'F', 3411, 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'O', 9311, 5805]
Example Output: X, 5537, 3209, 4831, R, 2093, U

Example Input: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
Example Output: N, P, 9231, j, H, 5851

Example Input: ['T', 'q', 'r', '2795', '3617', 'w', '297', '4309', 'B', 'I', 'g', 'j', 'p', 'M', 6841, 'N', 'z', 'x'], [2047, 'j', 'V', 2181, 8083, '2795', '3617', 'w', '297', '4309', 'B', 'I', 'g', 'W', 7935]
Example Output:
2795, 3617, w, 297, 4309, B, I, g