In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 3119, 1233, 'W', 'W', 'Q', '6573', 'o', 475], ['U', 'y', 'W', 'W', 'Q', '6573', 'A', 'P', 751, 3585]