In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7271, 4749, 399, 'O', 349, 'B', 'M', '5505', 'G', '2409', '2291', 'O', 'g', '5391', '6215', 'w', '4473', 'x', '8411', 'q', '655', 'T', 't', 6913, 'W', 'j', 'T', 'p', 6439, 'K', 3175, 'B'], [5193, 'G', 1879, 7127, 'S', 'e', 4819, 3545, 'J', 'C', 'M', '5505', 'G', '2409', '2291', 'O', 'g', '5391', '6215', 'w', '4473', 'x', '8411', 'q', '655', 'L', 9713, 'a', 'g', 'A', 'X', 3589, 4653, 'D']