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

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: [5179, 's', 7203, 4301, 3441, 'k', 'P', 't', 'r', 3027, 's', 3809, 'u', 'S', 'h', 5087, 'z', 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'z', 'V', 'l', 521, 9401, 3845, 6245, 3437, 'w', 'u'], ['u', 4399, 'R', 'v', 'x', 1061, 7505, 'r', 8411, 'o', 9285, 477, 3823, 'O', 'B', 2731, 5879, 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'G', 9613, 8995, 3881, 'i', 'G', 't', 2473, 1297, 7481, 'v', 'a', 7607, 1147, 3263, 'p']
Example Output: a, b, 3333, 6041, 2765, q, 9485, 7697, E, 509, Q, 1573, 4879, 1197, 4515, k, c

Example Input: ['x', 'X', 5997, 8825, 'f', 'e', 'A', '6331', '2269', '2861', '1575', '3087', '2783', 'b', 'E', '7337', 'H', 'h', 'J', 4703, 'O', 'I', 2471, 'N', 'b'], ['r', 405, 1135, 3279, 3359, 3157, 6273, '6331', '2269', '2861', '1575', '3087', '2783', 'b', 'E', '7337', 'H', 'o', 'T', 3359, 'P', 5567, 7903, 'h', 7709]
Example Output:
6331, 2269, 2861, 1575, 3087, 2783, b, E, 7337, H