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

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: ['s', 5961, 'F', 6419, 7317, 2921, 'K', 3199, 2351, 9853, 4811, 3231, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'Q', 7059, 6673], ['Z', 2529, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'x', 825, 'e', 'I', 'G', 'n', 2345]

Output: 5953, 1493, 173, 425, O, L, 9941, J, p, 1999, 9613, 4401, 1875, F, i, 7537, 8471, 1193


Input: Consider Input: ['b', 'p', 957, 3331, 3329, 3131, 913, 'T', 'W', 4639, 'K', 5641, 4389, 825, 6575, 3307, '6601', '5569', '27', 'D', 'o', '19', '5247', '4341', 'h', '3535', 'a', '4713', 'p', '8073', 'l', 'f', 'v', 'h', '3299', '959', 'H', 'h', 'w', 'M', 'W', 'c', 'P', 'A', 2609, 'y'], ['W', 'g', 'd', 'l', 'M', 'L', 413, 4787, 1593, 6595, 2211, 7479, 's', 7399, 2803, 9213, 4707, 1741, 8287, '6601', '5569', '27', 'D', 'o', '19', '5247', '4341', 'h', '3535', 'a', '4713', 'p', '8073', 'l', 'f', 'v', 'h', '3299', '959', 'H', 'w', 6921]


Output: 6601, 5569, 27, D, o, 19, 5247, 4341, h, 3535, a, 4713, p, 8073, l, f, v, h, 3299, 959, H