In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'G', 'q', 'N', 'i', 347, 'C', 'r', 'X', 2397, 259, 'O', 'W', 'V', '9797', '7749', '9435', '8821', '5833', 'q', '5951', '8989', 'F', '2493', 'z', 'P', '5097', 'y', '2333', 'G', '5417', 'n', '4627', '1917', 'I', '497', '265', 't', 9885, 6545, 'w', 'H', 9143, 4693, 257, 8447, 3257, 1997, 4003, 'I'], ['i', 9833, 4353, 'N', 'c', 'x', 'c', 'L', 'a', 1859, 5051, 'y', 7047, 4465, 'f', 2143, 1011, 8749, 6419, 'Z', 2599, 7819, 3429, 235, 'V', '9797', '7749', '9435', '8821', '5833', 'q', '5951', '8989', 'F', '2493', 'z', 'P', '5097', 'y', '2333', 'G', '5417', 'n', '4627', '1917', 'I', '497', '265', 'I', 6059, 3453, 'M', 7913, 'F', 3387, 345, 1261, 'r']