In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 't', 3973, 9283, 'm', 2235, '7941', '8685', '275', 'X', '6291', '8427', '29', 'x', 'A', 'x', 'g', 'z', 5699, 6335, 813, 9213], ['Q', 'X', '7941', '8685', '275', 'X', '6291', '8427', '29', 'x', 'A', 'd', 6287, 'T', 'B']