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: [4041, 'A', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'H', 4635, 7087, 8857, 1057, 1877, 'U', 'V', 7175, 'r', 4599], [801, 8323, 7503, 'U', 381, 'd', 'y', 453, 1687, 'R', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'j', 2559, 3465, 'C', 'I', 5493, 'X', 'r']
Example Output: 9609, E, r, d, u, S, 7397, 8573, 4893, T, t, K, 7425, E, J, Q, U, 1407, 3419, 1193, H, 7525

Example Input: [7103, 4697, 'i', 3529, 'p', 517, 6011, '7', 'R', 'P', '4531', '2553', '5303', 'N', '497', 'j', 'a', 'y', 'C', 'l', 'S', 'z'], [9715, 'k', 'w', 3235, 8975, 'T', 'y', 105, '7', 'R', 'P', '4531', '2553', '5303', 'N', '497', 'o', 'Y', 2881]
Example Output:
7, R, P, 4531, 2553, 5303, N, 497