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

Input: Consider Input: [9049, 'c', 'B', 'H', '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'N', 'z', 8197, 'p', 8453, 2429, 1051, 'Y', 4315, 5473, 't', 4905, 'J', 'l', 5959, 't', 'x', 'F', 8431], [9507, 2299, 6223, 3229, 4513, 3943, 'R', 2817, '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'T', 3597]

Output: 8393, 3255, C, 6239, G, 1819, 6771, 1217, 2853, 7341, C, S, 2155, N, 2837, N, v, 9271, Q, g, 8921, 7371, G


Input: Consider Input: ['L', 'B', 'j', 5005, 1135, 6853, '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'i', 9785, 't', 'G', 'r', 'w', 'B', 3093], ['z', 'm', 'J', '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'D', 5163, 4649, 6219, 3227, 6101, 'y', 'K', 'W', 2233, 'n']

Output: 395, 4543, 2301, B, 9275, 7891, 9083, 5417, 7543, 8291, 2655, m, g, 7981, 5703, 1179


Input: Consider Input: ['e', 9159, 1833, 9353, 5267, 8351, 'm', '4189', 'i', 'o', '8445', '1195', '9391', 'o', '1623', 'k', 'P', 'D', 'v', 'i', 'U', 'g'], ['G', 6635, 'y', 6099, 'm', '4189', 'i', 'o', '8445', '1195', '9391', 'o', '1623', 'T', 'N', 'm', 6677]


Output: m, 4189, i, o, 8445, 1195, 9391, o, 1623