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

Input: Consider Input: ['e', 167, 4283, 'l', 247, 4197, 3397, 'Z', 'F', 2835, 4273, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'P', 'U', 'G', 'X', 7049, 'q'], ['z', 'p', 'L', 'A', 'o', 391, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'I', 8741, 3159, 't']

Output: F, 4769, 6831, 5497, Z, g, Y, 2003, 2851, 9303, 6173


Input: Consider Input: ['S', 'o', 9247, 'W', 'G', 5923, 4791, '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 's', 'T', 5829, 'p'], ['K', 'U', 'H', 8611, 1005, 'I', '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 'C', 9577, 8279, 2247, 'x', 4917, 'H']

Output: 8083, 3207, 9137, 9359, 9297, 9667, 75, h, 9671


Input: Consider Input: [2087, 'V', 'e', 'q', 'Z', 'i', 7583, 's', 'l', 'I', 'd', 'r', '9409', '1035', '4757', 'G', '385', '3111', 'c', 'x', '4557', 'F', '1727', 'e', '9237', 'S', 'u', 'v', 'E', 4671, 'A', 'm', 't'], ['m', 'm', 's', 'l', 'I', 'd', 'r', '9409', '1035', '4757', 'G', '385', '3111', 'c', 'x', '4557', 'F', '1727', 'e', '9237', 'j', 'm', 'x', 'O', 'm', 9167, 4483, 1255, 7765, 'J', 'l', 'g', 'T', 'e', 'p', 'x', 'U']


Output: s, l, I, d, r, 9409, 1035, 4757, G, 385, 3111, c, x, 4557, F, 1727, e, 9237