Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [9549, 9049, 8903, 'p', 6043, 6477, '611', 'D', '7879', 'K', 'y', '4565', '59', '9635', 'l', 9229, 'm'], ['C', 'X', 4319, 9027, 8643, 4595, 643, 'e', '611', 'D', '7879', 'K', 'y', '4565', '59', '9635', 'G', 1377, 1609, 4601, 'M']
Output:
611, D, 7879, K, y, 4565, 59, 9635