In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 'o', 'J', 'g', 'G', 'K', 'b', 'q', 317, 5943, 'a', 3117, 6227, 'J', 'e', 5199, 3527, 'r', 7827, 'J', '833', 'c', 'G', '5747', 'r', '1431', 'k', '1647', 'A', '1093', '4645', 'y', '467', '9309', '6513', 'C', 'V', '4547', '595', '6575', 's', 'u', 'L', 7027, 6267, 'o', 3995], [8427, 1457, 'O', 'Z', 'I', 'c', 'j', 2485, 'L', 4361, 7103, 8407, 'J', '833', 'c', 'G', '5747', 'r', '1431', 'k', '1647', 'A', '1093', '4645', 'y', '467', '9309', '6513', 'C', 'V', '4547', '595', '6575', 'F', 'C', 'm', 'n', 'B', 7091, 'W']