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

Input: Consider Input: [8235, 6785, 'P', 'N', 'y', '5503', '6065', '2039', 'Q', 'o', 'F', 7791, 'R', 'm', 3633], ['s', 863, 'z', 'y', '5503', '6065', '2039', 'Q', 'o', 'o', 6907, 5837, 's', 2553]

Output: y, 5503, 6065, 2039, Q, o


Input: Consider Input: ['P', 8059, 'A', 385, 't', 1999, 269, 'T', 'B', 'S', '5291', 'b', 'x', 'o', '7813', 'R', 'D', '1301', '2079', 'H', '3587', '1325', '8977', '5565', 'u', 'v', 'D', 'I', '6267', 'H', '6663', 'I', 'B', 'f', '2383', 'K', 6409, 'W', 'h', 9673, 1829, 'K', 'A'], [1099, 1609, 'q', 9603, 'B', 3251, 'o', 'x', 1197, 'O', 'u', 't', 'K', 'c', 1185, 'l', 'v', 'e', 'q', 9255, 'u', 'S', '5291', 'b', 'x', 'o', '7813', 'R', 'D', '1301', '2079', 'H', '3587', '1325', '8977', '5565', 'u', 'v', 'D', 'I', '6267', 'H', '6663', 'I', 'B', 'f', '2383', 'V', 6939]

Output: S, 5291, b, x, o, 7813, R, D, 1301, 2079, H, 3587, 1325, 8977, 5565, u, v, D, I, 6267, H, 6663, I, B, f, 2383


Input: Consider Input: ['O', 2475, 'e', 8241, 4485, 7727, 'B', 'k', 5703, '1503', 'B', '9321', '9407', '1559', '9345', '305', '6393', 'A', '6699', 'c', 'Q', 'U'], ['b', 4087, 'K', 'B', 5027, '1503', 'B', '9321', '9407', '1559', '9345', '305', '6393', 'A', '6699', 'p', 311, 2931, 9847, 'K', 'R', 927, 'g']


Output: 1503, B, 9321, 9407, 1559, 9345, 305, 6393, A, 6699