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

Input: Consider Input: [4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]

Output: O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M


Input: Consider Input: ['x', 9249, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'J', 10001, 'A', 225, 1607, 'a', 'h', 6377], [375, 'D', 4093, 'g', 735, 955, 'c', 9937, 2987, 7035, 'X', 7703, 9937, 'Y', 3849, 2197, 4731, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'Y', 'K', 's', 1667, 9723, 3697, 1759, 3243, 'r', 'v', 'Z']

Output: X, o, 7637, q, S, 733, 1483, T, 7653, F, 7879, k, 1881, Q, J, 4517, n, q, 1919, 381, 4725


Input: Consider Input: [2477, 3199, 9259, 3117, 'i', '3021', 'n', '4171', '5083', 'J', 'v', '1399', 's', '499', 'H', 'U', 'H', '15', 'z', '9405', 'N', 'H', '7057', '9489', 'E', 'o', 'a', 67, 2139, 5087, 9423, 8561, 'h', 7817, 'm', 's', 'x', 'l', 9689], [2537, 'z', 'd', 'I', 'U', 'l', 8709, 'i', '3021', 'n', '4171', '5083', 'J', 'v', '1399', 's', '499', 'H', 'U', 'H', '15', 'z', '9405', 'N', 'H', '7057', '9489', 'E', 'o', 'E', 7693, 'U', 'w', 7559, 'W', 'T', 8333, 'V', 'g', 7247, 'n', 'v', 'K', 135, 'M', 's', 'X']


Output: i, 3021, n, 4171, 5083, J, v, 1399, s, 499, H, U, H, 15, z, 9405, N, H, 7057, 9489, E, o