In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2899, 5237, 'N', 399, 7901, 7925, 8109, 2995, 'm', 'S', 7643, 'O', 9765, 's', 6559, 9887, '1107', '967', '2477', 'g', '4501', '2229', 'b', '7197', 'A', 'd', 'Q', '8127', 'W', '1801', '9953', 'e', 'a', 1773, 'v', 'v'], ['l', 9553, 'q', 'C', 'y', 8953, 305, '1107', '967', '2477', 'g', '4501', '2229', 'b', '7197', 'A', 'd', 'Q', '8127', 'W', '1801', '9953', 'e', 'W', 'M', 'n', 'l', 'C', 'k']