In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 'z', 'U', 2259, 6799, 9597, 'L', 'D', 739, 8391, 'O', 4357, 1479, 4665, 'L', 6939, 'C', 2661, 1221, 'A', 'B', '6087', '4485', 'Z', '619', '7751', 'A', 'O', 'N', '6915', 'B', 'A', 'S', '4137', '7185', 'Q', '3497', 'a', '7383', '8361', 'J', 'h', 'w', 'g', '1807', '1517', 'A', 'w', 's', 'T', 'N', 6069, 7035], ['c', 'u', 'B', '6087', '4485', 'Z', '619', '7751', 'A', 'O', 'N', '6915', 'B', 'A', 'S', '4137', '7185', 'Q', '3497', 'a', '7383', '8361', 'J', 'h', 'w', 'g', '1807', '1517', 'A', 'w', 'D', 'm', 6789, 'P', 'Q']