In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['O', 5323, 3515, 6399, 'i', 'D', 'L', 'P', '7795', 'q', 'L', 'i', 'd', 'y', 'j', '8245', '1227', '8815', '679', '8097', 'v', '5575', '9467', 'Y', '9323', 'B', 1791, 'R', 'G', 'H', 'r', 1217], [4703, 2287, 703, 8989, 'A', 9293, 1413, 'q', 'a', '7795', 'q', 'L', 'i', 'd', 'y', 'j', '8245', '1227', '8815', '679', '8097', 'v', '5575', '9467', 'Y', '9323', 'i', 2517, 3599]