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

Input: Consider Input: ['z', 3279, 'C', 'F', 9153, 'E', 417, 'P', 6405, 1849, 4819, 'V', 4497, 2031, 'L', 'g', '8015', 'D', 'b', '3659', 'P', 'm', '6013', '6583', '6705', '8449', 'a', 'X', '2087', 'Y', 'L', 'i', 5651, 'y', 'L', 2993, 2605, 6805, 'w', 5731, 'Q', 9359, 'Y', 4267, 2985], ['F', 'x', 5427, 4915, 2541, 'H', 'S', 8953, 'L', 7911, 'b', 'I', 1945, 859, 'i', 'g', '8015', 'D', 'b', '3659', 'P', 'm', '6013', '6583', '6705', '8449', 'a', 'X', '2087', 'Y', 'N', 1971, 'a']

Output: g, 8015, D, b, 3659, P, m, 6013, 6583, 6705, 8449, a, X, 2087, Y


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: [2657, 9739, 's', 't', 9269, 'G', 'j', 'R', 'l', 119, 'V', 2753, 'V', 5255, 7821, '1931', '6905', 'u', '6137', '7665', '7679', '7019', 'O', 'F', 'i', 'u', 'L', 'e', 'E', 'G', '8939', 'n', 'Y', 't', 2565, 'c', 'G', 701, 'x'], ['x', 'K', 8907, 9149, 'A', 6585, 't', 7561, 5293, 'j', 9499, 3181, 8867, 'C', 'P', '1931', '6905', 'u', '6137', '7665', '7679', '7019', 'O', 'F', 'i', 'u', 'L', 'e', 'E', 'G', '8939', 'n', 'V', 'E', 2565, 863, 'N', 7535]


Output: 1931, 6905, u, 6137, 7665, 7679, 7019, O, F, i, u, L, e, E, G, 8939, n