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

Input: Consider Input: ['R', 'k', 'g', 4045, 'W', '4923', '9161', '4031', '7443', 'f', 'U', 2683, 'Y'], [943, 'v', '4923', '9161', '4031', '7443', 'f', 't', 'm', 9213]

Output: 4923, 9161, 4031, 7443, f


Input: Consider Input: [4385, 'a', 2073, 5621, 'A', 'n', 1919, 1673, 'x', 'v', 'v', 'V', 'h', 'J', '671', '3329', 'b', 'B', 'q', 'f', 'l', '6501', '3425', 'b', '3083', '4541', 'Q', 'p', 'z', 't', 'N', 7057, 'd', 'Y', 'f', 3249, 699, 'x', 1555, 'l', 4749], ['b', 'r', 's', 'v', 'v', 'V', 'h', 'J', '671', '3329', 'b', 'B', 'q', 'f', 'l', '6501', '3425', 'b', '3083', '4541', 'Q', 'p', 'I', 'b', 6909, 'U', 5563, 987]

Output: v, v, V, h, J, 671, 3329, b, B, q, f, l, 6501, 3425, b, 3083, 4541, Q, p


Input: Consider Input: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]


Output: 9525, B, o