In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6713, 5005, 'e', 'A', '9551', '6275', 'g', 'Q', 'x', 1477, 9439, 'P'], ['W', 6545, 9099, 973, 'e', 'A', '9551', '6275', 'g', 'Q', 'k', 9549, 491, 4725, 'd', 5041]