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: [1307, 'T', 'C', 7825, 'Z', 7865, 4777, 't', 'C', 'e', 4191, 'E', '8099', '4097', '5535', 'x', 'y', 'b', '6157', '661', '9445', 'Y', '8203', '4037', '5669', 'z', '523', '619', '4557', 'e', 6751, 3871, 'H', 4279, 'd', 'C', 655, 7933], ['I', 'b', 'B', 'M', 5631, 'O', 'l', 3281, 9033, 3921, 'Y', 'r', 'L', 'u', 'c', 'E', '8099', '4097', '5535', 'x', 'y', 'b', '6157', '661', '9445', 'Y', '8203', '4037', '5669', 'z', '523', '619', '4557', 'l', 'Q', 8543, 'K', 851, 2067, 'b', 3229, 9237, 1667, 1897, 'k', 'w', 5483, 'n', 7723]

Output: E, 8099, 4097, 5535, x, y, b, 6157, 661, 9445, Y, 8203, 4037, 5669, z, 523, 619, 4557


Input: Consider Input: [4839, 6727, 'x', 'J', '1511', '8991', '155', '89', 'D', 'Z', 3705, 6329], ['r', 'y', 3315, 1843, 'e', 'x', 'J', '1511', '8991', '155', '89', 'H', 3305, 'r', 'U', 'I', 5101]


Output: x, J, 1511, 8991, 155, 89