In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7459, 'D', 787, 'w', 3515, 6339, 'Q', 9399, 'd', 'N', 7697, 'T', '8247', 'A', 'C', 'z', 'u', '5259', '9311', '1323', 'E', 't', '8761', 'N', '5399', '2517', 'O', 'H', 'n', 'G'], [5303, 'h', 'r', 'T', '8247', 'A', 'C', 'z', 'u', '5259', '9311', '1323', 'E', 't', '8761', 'N', '5399', '2517', 'O', 'S', 'C', 8551, 8597, 2683, 2103]