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

Input: Consider Input: [5599, 'o', 'p', 'T', 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'D', 'e', 'O', 'O', 3319], ['J', 2811, 7263, 'C', 4889, 477, 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'F', 3717, 'X', 1407, 2097, 'J', 'N', 'W']

Output: o, p, B, M, 283, R, a, 9671, 8125


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: ['a', 'y', 8071, 6669, 'n', 'W', '3619', 's', 'E', 'N', '8415', '4641', 'j', '8547', 'R', '9243', '1719', '6621', 'C', 'u', '7705', 'S', 'X', '7745', '8721', 'I', 'C', 'X', 'G', 3867, 9407, 'r', 'S', 8697, 'O', 3723, 'v', 6917, 4443, 'o', 5157, 5707, 3213, 1655], [8441, 9625, 'f', 6485, 'g', 7121, 6529, 1579, 8739, 10005, 43, 495, 81, 'n', 'W', '3619', 's', 'E', 'N', '8415', '4641', 'j', '8547', 'R', '9243', '1719', '6621', 'C', 'u', '7705', 'S', 'X', '7745', '8721', 'k', 9113, 1851, 'm', 'R', 9685, 'L', 525, 'g']


Output: n, W, 3619, s, E, N, 8415, 4641, j, 8547, R, 9243, 1719, 6621, C, u, 7705, S, X, 7745, 8721