Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['j', 'b', '9075', 'u', '7713', '9549', 'b', '177', 'D', '1463', '6639', '7863', 'C', '4799', 'h', '2283', '6159', 'D', '5875', 'A', 'E', 345, 4263, 'z', 5089, 'B'], [8571, 1555, '9075', 'u', '7713', '9549', 'b', '177', 'D', '1463', '6639', '7863', 'C', '4799', 'h', '2283', '6159', 'D', '5875', 'Y', 9719, 'O', 6849]
Output:
9075, u, 7713, 9549, b, 177, D, 1463, 6639, 7863, C, 4799, h, 2283, 6159, D, 5875