In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['b', 6621, 'A', 3431, 627, 'T', 6721, 2255, 2471, 'W', '489', 'I', 'n', '3195', 'K', '3149', '9975', '187', 'T', 'Y', 'L', 'S', 'S', 'T', 5059, 'Q', 'P'], ['Y', 'l', 7563, '489', 'I', 'n', '3195', 'K', '3149', '9975', '187', 'T', 'Y', 'L', 'S', 'a', 2579, 'J', 'r', 'w', 'r', 'K']