In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['C', 'G', 'h', 4001, 'S', 'z', '3321', 'T', '6569', 'G', 'j', '3777', 'B', 'h', 'n', 'h', 's', 'E', 'G', '9939', '8299', 'z', 'N', 'h', 207, 'X', 535, 'h', 'M', 7005, 5043], [9757, 5023, 'N', 'I', '3321', 'T', '6569', 'G', 'j', '3777', 'B', 'h', 'n', 'h', 's', 'E', 'G', '9939', '8299', 'N', 1177, 'q', 'W', 9771, 3377, 3367, 'P', 'g', 'S', 4149, 'I', 6867]