In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 2455, 'U', 7527, 'h', 'f', 'r', 'S', 'A', 'W', 'y', 7155], ['F', 3295, 'h', 'f', 'r', 'S', 'A', 'X', 5701]