Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [6363, 5485, 'w', 7345, 'F', 'B', '2677', 'E', '6743', 'w', 'F', 'x', '5479', 'o', 't', '6819', 'x', 9771, 5821, 437], [8693, 'm', 7689, '2677', 'E', '6743', 'w', 'F', 'x', '5479', 'o', 't', '6819', 'H', 5679, 9597, 5539, 'a', 6529]
Output:
2677, E, 6743, w, F, x, 5479, o, t, 6819