In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 'T', 'M', 4853, '9427', '9167', 'e', '6605', '9445', 'G', 't', 'v', 'N', 'K', '7225', '8609', 'w', '5085', 'r', 'h', '2963', '2359', '9945', 'm', 'm', 'l', 6253], [5277, 'S', 9345, 7757, 5195, 'L', 'D', 6329, 2963, 'v', 5175, '9427', '9167', 'e', '6605', '9445', 'G', 't', 'v', 'N', 'K', '7225', '8609', 'w', '5085', 'r', 'h', '2963', '2359', '9945', 'm', 'j', 'g', 5619, 7061, 'N', 7767, 'Z', 51, 4757, 'N', 7445]