In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 'K', 4939, 'T', '6189', '6263', 'f', 'B', 4891], [1483, 'A', 'T', '6189', '6263', 'a', 2415, 9729]