In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'n', 'm', 'R', 'n', 6559, 191, 'b', '4837', 'X', 'm', '8927', '8075', '3545', 'M', 'e', 'I', '5623', '5495', 'b', 'r', 'z', 'Q', 'R', 'Y'], [2499, 1117, 9295, 1029, 'A', 2423, '4837', 'X', 'm', '8927', '8075', '3545', 'M', 'e', 'I', '5623', '5495', 'b', 'c', 8423, 6567, 6577, 'B', 'a', 'T']