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: [8967, 95, 'd', 5595, 8365, 5089, 3537, '1473', '6003', '8739', 'a', '1491', 'o', '381', 'a', 'L', 'E', 'b', 'i', 'j', 'i', 'R', 'b', 'C', 'w', 'u', 'W'], [4525, 'J', '1473', '6003', '8739', 'a', '1491', 'o', '381', 'a', 'L', 'E', 'b', 'A', 625, 'H', 'Y', 'm', 3291, 'a', 'c', 3441]

Output: 1473, 6003, 8739, a, 1491, o, 381, a, L, E, b


Input: Consider Input: ['O', 'n', 'J', 'w', '3049', '2247', 'K', 'b', 1401], [1471, 1385, 6017, 'L', 'w', '3049', '2247', 'K', 'J', 5417, 'o', 'e']


Output: w, 3049, 2247, K