In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9597, 7543, 8331, 1259, 'Q', 9407, 'n', 4349, 'd', 7775, 9799, 'T', 'V', 'Q', 9157, 1607, 'M', '6091', 'y', 'i', 'R', '6243', 'G', 'I', 'O', 'R', '9821', 'h', 'I', '9175', '6227', '6653', 'A', 'z', '4265', 'm', 'J', '4825', 'O', 'm', 'G', 'E', 7605, 'O', 'E', 'J', 5437, 'z', 'h', 'Z', 'v'], ['p', 2369, 2153, 7107, 'r', 8631, 'G', 3273, 'M', '6091', 'y', 'i', 'R', '6243', 'G', 'I', 'O', 'R', '9821', 'h', 'I', '9175', '6227', '6653', 'A', 'z', '4265', 'm', 'J', '4825', 'O', 'm', 'G', 'd', 3109, 'V', 'K', 1737, 279, 1301, 7325, 'y']