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

Input: Consider Input: [3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']

Output: 655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827


Input: Consider Input: ['A', 8381, 'L', 'r', 8779, 8469, 'n', 'E', 'B', 659, 8495, 9403, 'g', 'H', 7973, 4665, 'W', 'L', '5385', '5525', 'i', 't', '1385', '4881', 's', 'x', 't', 'z', 'k', 'M', 'K', '2923', '4233', '7577', 'x', 'v', 'e', 2637, 6857, 'T', 'N', 9975, 8949, 7561, 4607, 'V', 9591, 'A'], ['a', 'C', 'X', 'J', 'w', 'F', 'b', 'W', 'L', '5385', '5525', 'i', 't', '1385', '4881', 's', 'x', 't', 'z', 'k', 'M', 'K', '2923', '4233', '7577', 'x', 'D', 'I', 4361, 'L', 'f', 9415, 'W', 41, 'e', 6565, 'W', 6563, 9523, 'e']

Output: W, L, 5385, 5525, i, t, 1385, 4881, s, x, t, z, k, M, K, 2923, 4233, 7577, x


Input: Consider Input: ['C', 7511, 'A', 3619, 4627, 'y', 'h', 'u', 'P', 'o', 'P', 'b', 'c', 'f', 't', '6249', '6955', 'Q', 7185, 3879, 6859, 9721, 6019, 'o', 1767, 'F'], [969, 4527, 9489, 'b', 7685, 8865, 'y', 'h', 'u', 'P', 'o', 'P', 'b', 'c', 'f', 't', '6249', '6955', 'q', 2547, 5731, 'w', 'w', 8633, 'R', 't', 'Z', 'd', 'L', 'H']


Output: y, h, u, P, o, P, b, c, f, t, 6249, 6955