In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[563, 'e', 'O', 2309, 'a', '5209', 'F', 'g', '9339', 'u', 'u', 't', 8383], [3177, 'D', 1693, 'F', 2893, '5209', 'F', 'g', '9339', 'u', 'o', 'Q']