In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['E', 'B', 377, 3889, '1439', '1639', 'I', '4391', 'S', 6679], [8983, 'O', '1439', '1639', 'I', '4391', 'n', 3417, 'V']
A: 
1439, 1639, I, 4391