In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 'Z', 'a', 8729, 'K', 'M', 319, 1735, 'T', 'L', 'Y', 'e', '4475', '1165', '9545', '3577', 'd', 'K', 'l'], [7555, 't', 'H', 8185, 1205, 'T', 'L', 'Y', 'e', '4475', '1165', '9545', '3577', 'd', 's', 'd', 'Z']