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: ['o', 5261, 'R', 8999, 'G', 1965, 3921, 9539, 5343, 'c', 6119, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'S', 6387, 'u'], ['B', 'X', 319, 1715, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'T', 'Q', 3169, 'x', 'L', 'Q', 1161, 5639]

Output: 4617, 7787, P, 295, U, 1429, 7667, G, 8607, R, 7375, E, R


Input: Consider Input: [8365, 'R', 2451, 9617, 's', 285, 7493, 'o', 'v', 'B', 'c', '9003', '6253', '3609', 'Y', '9709', 'R', '9639', '6177', '3007', '3791', '325', 'W', 'v', '4981', '2783', 'g', 6875, 'Y', 's', 9295, 'D'], [9193, 1105, 'q', 9587, 4249, 'w', 3237, 5179, 'L', 8685, 8123, 'v', 'B', 'c', '9003', '6253', '3609', 'Y', '9709', 'R', '9639', '6177', '3007', '3791', '325', 'W', 'v', '4981', '2783', 's', 'N', 7869, 3179, 4509, 2015, 'y', 'i', 2615, 'H', 5785, 2653, 'n', 'z', 'a', 'm']


Output: v, B, c, 9003, 6253, 3609, Y, 9709, R, 9639, 6177, 3007, 3791, 325, W, v, 4981, 2783