Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [5009, 'G', 'H', 9085, 4329, 1761, 'M', '7379', '9401', 'k', '8473', '663', 'u', 2033], ['e', 'S', 'S', 1851, 8729, 'M', '7379', '9401', 'k', '8473', '663', 'g', 1167, 7013, 1049, 'z', 'v']
Output:
M, 7379, 9401, k, 8473, 663