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

Input: Consider Input: [2799, 'R', 's', '9885', 's', 'c', '7143', 'H', '445', 'F', 9229, 'B', 5169, 'T', 's'], [109, 'u', 'f', 2303, 1495, 5041, '9885', 's', 'c', '7143', 'H', '445', 'v', 7261]

Output: 9885, s, c, 7143, H, 445


Input: Consider Input: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]

Output: 8587, b


Input: Consider Input: [9883, 'v', 6161, 9487, 1465, 9667, 'g', 'B', 'L', 2273, 'D', 'S', 7831, 'f', 4387, 'm', 'Y', 'R', 'K', 'g', 'W', 5175, 669, 'X', 'V', 'h', 'v', 7055, 'z', '3375', 'Y', '3919', 'p', '3291', '6631', 'E', '1933', '1201', 'V', '7273', 'z', 'x', '2629', 'x', 'O', 'h', '1699', 'L', 'Q', '6433', 't', 'V', '1949', '7627', 'Q', '8129', '6113', '6433', '7793', 'B', 'j', 'M', 3457, 'C'], [1629, 'Z', 'R', 4833, '3375', 'Y', '3919', 'p', '3291', '6631', 'E', '1933', '1201', 'V', '7273', 'z', 'x', '2629', 'x', 'O', 'h', '1699', 'L', 'Q', '6433', 't', 'V', '1949', '7627', 'Q', '8129', '6113', '6433', '7793', 'J', 'D', 'k', 'j', 7361, 6087, 'k', 1233, 2505, 'Y', 'R', 7229, 'f', 7585, 'D', 1751, 'I', 7863, 3415]


Output: 3375, Y, 3919, p, 3291, 6631, E, 1933, 1201, V, 7273, z, x, 2629, x, O, h, 1699, L, Q, 6433, t, V, 1949, 7627, Q, 8129, 6113, 6433, 7793