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

Input: Consider Input: ['O', 'B', 'S', 7965, 5083, 'N', 3995, 'b', 1679, 649, 1871, 1131, 'T', 'Z', 'n', 7701, 'd', 'W', 'I', 9153, 'Z', 7431, 'J', 'l', 'S', 9615, 'd', 7259, 'V', 'g', '9837', 'l', 'U', 'c', '2289', '8069', '5119', '7271', '7021', 'd', '9847', 'h', '1353', '4083', '33', 's', 'Y', '8189', '4339', '1253', 'm', '8091', 's', 'h', 'f', 'p', 'T', 'Z', 9765, 'q', 531, 'S', 'N', 'g', 1141, 67, 9363, 2469, 'E', 'y', 'F', 1307, 205, 2685, 7581, 'o', 6813, 5375, 'C'], ['L', 'w', 'u', 9473, 'l', 6703, 'N', 'p', 4755, 2949, 275, 6891, 'a', 'K', 'd', 8921, 1427, 'q', 'C', 'V', 'g', '9837', 'l', 'U', 'c', '2289', '8069', '5119', '7271', '7021', 'd', '9847', 'h', '1353', '4083', '33', 's', 'Y', '8189', '4339', '1253', 'm', '8091', 's', 'h', 'f', 'p', 'T', 'm', 'o', 'd', 8797, 8171, 8963, 8643, 8049, 'M', 'e', 4515, 'C', 'T', 'P', 6113, 8607, 7549, 'M', 8495, 7891, 'j', 4807, 'l', 8729, 't', 'i', 'F']

Output: V, g, 9837, l, U, c, 2289, 8069, 5119, 7271, 7021, d, 9847, h, 1353, 4083, 33, s, Y, 8189, 4339, 1253, m, 8091, s, h, f, p, T


Input: Consider Input: [3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']

Output: Q, J, c, 3205, 2707, 1869, 1285, z, c


Input: Consider Input: [5249, 'F', 'a', 7153, 8755, 5579, 9311, 4281, 4431, '8255', 'y', 'T', '2399', '697', '2105', 'P', '169', 'e', '2085', 'h', 'A', 3311, 'i', 9975, 'g', 'D'], [909, 9917, 'H', 'B', 4681, '8255', 'y', 'T', '2399', '697', '2105', 'P', '169', 'e', '2085', 'R', 1765, 'A', 447, 'F', 8519]


Output: 8255, y, T, 2399, 697, 2105, P, 169, e, 2085