In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['I', 'h', 'H', 'N', 9613, 'K', 6271, 5453, 'n', 'h', 'H', '6867', 'x', 'Y', '3123', 'A', 'p', '8439', '299', 'N', 'N', '6177', '9029', '2437', 'p', '2499', 'a', 'T', 6581, 't', 1671], [5753, 9061, 9047, 'G', 'h', 4539, 'H', '6867', 'x', 'Y', '3123', 'A', 'p', '8439', '299', 'N', 'N', '6177', '9029', '2437', 'p', '2499', 'a', 'U', 'd', 8757, 2247, 7551, 'G', 'W']