In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9407, 'H', 9599, 1689, 'y', '1179', 'B', '2541', '4925', 'W', 9967, 'P'], [4007, 'w', 'y', '1179', 'B', '2541', '4925', 'Z', 153]