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

Example Input: [7231, 2153, '3257', '3693', 'P', 3291], [1543, 6411, '3257', '3693', 'G', 'k']
Example Output: 3257, 3693

Example Input: [7409, 'l', 'h', '6739', '5187', 'K', 'D', '7539', '5609', 'x', 'p', 'S', 'j', 'j', '3077', '6081', 'd', '61', '2871', 's', 'J', 'M', 'Q', 'R', 5567, 'p', 'L'], [2329, 5573, 'N', 't', 3213, 9107, 9337, 79, 1607, 'J', 'y', 'g', 's', 'h', 4251, 'L', 3147, '6739', '5187', 'K', 'D', '7539', '5609', 'x', 'p', 'S', 'j', 'j', '3077', '6081', 'd', '61', '2871', 's', 'x', 'Q']
Example Output: 6739, 5187, K, D, 7539, 5609, x, p, S, j, j, 3077, 6081, d, 61, 2871, s

Example Input: ['U', 9699, 'K', 'v', 'V', 'k', 'J', '8641', 'x', 'b', '6729', '7571', '5943', 'H', 'R', '1661', 'Z', 'Q', 6779], [7235, 'w', 9131, '8641', 'x', 'b', '6729', '7571', '5943', 'H', 'R', '1661', 'b', 'P', 'd', 9463, 2589, 4975, 2435, 'I']
Example Output:
8641, x, b, 6729, 7571, 5943, H, R, 1661