In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 7947, 'X', 'E', 'Q', 'b', 'R', 'Z', '4779', 't', 'A', 2515, 's'], ['K', 'K', 'T', 487, 7023, 'm', 7475, 'E', 'Q', 'b', 'R', 'Z', '4779', 't', 'y', 7511, 1229, 'd']