In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 'H', 4435, 'G', 'p', 'Y', 'b', 'D', '5837', 'P', '8559', '2531', 'l', 'K'], [6003, 'Y', 'j', 'R', 'e', 'H', 'Z', 1741, 'G', 'p', 'Y', 'b', 'D', '5837', 'P', '8559', '2531', 'd', 'P', 'Z']