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

Input: Consider Input: ['z', 'L', 'e', 3279, 's', 'U', 'p', '2885', 'w', 'x', 7713], [3907, 'e', 's', 'U', 'p', '2885', 'w', 'F', 'x', 'v', 5319]

Output: s, U, p, 2885, w


Input: Consider Input: [3759, 7101, '5609', '5115', '6103', '3685', '3055', '4987', '3865', '2369', '5093', '9485', '119', 's', 1947, 4631, 855, 'b', 7601, 9341, 'n', 'S', 'w', 'U'], ['E', 'S', 'M', '5609', '5115', '6103', '3685', '3055', '4987', '3865', '2369', '5093', '9485', '119', 'L', 4431, 4213]

Output: 5609, 5115, 6103, 3685, 3055, 4987, 3865, 2369, 5093, 9485, 119


Input: Consider Input: ['M', 'N', 'b', 'R', 7527, 5585, 'o', 'F', 'S', '8167', '9589', 'w', '6907', 'f', '5353', 'B', 'U', 'l', '4105', '2801', '1505', 'M', '509', '921', 'D', 'm', 4389, 'l', 9187, 'J'], ['W', 'e', 'O', 'o', 'F', 8411, '8167', '9589', 'w', '6907', 'f', '5353', 'B', 'U', 'l', '4105', '2801', '1505', 'M', '509', '921', 'D', 'G', 5917, 3083, 'e', 8737, 8661, 4147, 'v', 8317, 'C', 5985, 919, 'u', 'y']


Output: 8167, 9589, w, 6907, f, 5353, B, U, l, 4105, 2801, 1505, M, 509, 921, D