In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 'n', 'f', 'Z', 'U', 'I', '4457', 'e', 'T', 7311], [5581, 'U', 'U', 'I', '4457', 'e', 'l', 'S']