In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2849, 'S', 'I', 'Q', 'n', 1811, 9043, 963, 7861, 'e', 2201, 'N', 'K', '4823', '321', '7273', '7899', 'M', 'C', '4245', '4869', '213', 'L', 's', '149', 'E', 4363, 'L', 't', 'a', 'O', 'Q', 5735, 'l', 'P', 2631, 2069, 'S'], [5843, 1387, 'K', '4823', '321', '7273', '7899', 'M', 'C', '4245', '4869', '213', 'L', 's', '149', 'G', 9529, 'I', 'w', 8803, 'Q', 'q', 'C']