In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 9995, 3429, 'E', 2187, 1293, 8697, 6785, 'm', 9383, 8451, 'z', 'j', 7899, 'f', 'S', 'F', 'n', 'Q', '6681', '8703', '1695', 'q', '5553', 'Z', 'C', '6867', '8537', '3451', 'S', 's', 7839, 'N', 'E', 5527, 'g', 5161, 'h', 'y', 9479, 2465, 285, 3221], [7191, 'h', 7133, 9499, 'f', 'S', 'F', 'n', 'Q', '6681', '8703', '1695', 'q', '5553', 'Z', 'C', '6867', '8537', '3451', 'S', 't', 10031, 2447, 'f', 7467, 6097, 'f', 3359, 's', 9795]