In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9963, 'V', 4159, 'x', 'O', '3429', 'b', 'P', 6607, 6519], [291, 2797, 'x', 'O', '3429', 'b', 'e', 8925]