In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2935, 's', 'h', 'B', 'l', '2983', '1707', 'I', 'v', 'K', 'm', 'r', 's', 635, 3573, 8547], ['W', 'L', 'I', 3861, 'h', 'B', 'l', '2983', '1707', 'I', 'v', 'K', 'Q', 'Y', 6273]