In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['H', 'M', 'H', 'l', 8839, 9187, 4197, 'F', 'a', 'j', 'O', 607, 'Z', 2025, 'X', 7361, 8001, 'o', 'q', 5965, 'O', '8643', 'N', '7805', 'D', '2287', '9343', 'd', '3695', '7123', 'C', 'D', 'd', '4791', 'X', 'i', 'k', 'Z', 'y', '8033', 'U', '4601', 'n', 'j', 'g', 'B', 'A', 6029, 6235, 2331, 2315, 1355, 199, 8117, 5013], [6707, 5291, 'f', 431, 9763, 'n', 'O', '8643', 'N', '7805', 'D', '2287', '9343', 'd', '3695', '7123', 'C', 'D', 'd', '4791', 'X', 'i', 'k', 'Z', 'y', '8033', 'U', '4601', 'Q', 6867, 535, 'j', 'o', 'm', 'h']