Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['b', 'Q', 'S', 2675, 'B', 3167, '9243', 'B', '4259', '9553', 'R', '9671', 'b', 'u', 8089, 9913, 4049, 8337], ['D', 6587, 'l', 'd', 9833, 8355, 2327, '9243', 'B', '4259', '9553', 'R', '9671', 'b', 'F', 'b']
Output:
9243, B, 4259, 9553, R, 9671, b