In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 6845, 1311, 939, 'f', 'T', 3725, 'o', 'E', 'p', 'W', 129, 9003, 'c', '2891', 'A', '7899', '323', 'w', 'n', 'y', '6011', '9927', 'i', 'm', '3555', 'k', '5159', '5503', 'V', '3225', 'U', 'z', 'F', '9751', 'f', '1571', 'Y', 2893, 'C', 'z', 'p', 1001, 3815, 'S', 'V', 'M', 4153, 'Q', 9169, 2661], ['O', 'h', 'H', 1291, 'i', 9233, 1323, 2287, 6963, 'x', 'p', 'W', 6781, 'p', 'U', 'c', '2891', 'A', '7899', '323', 'w', 'n', 'y', '6011', '9927', 'i', 'm', '3555', 'k', '5159', '5503', 'V', '3225', 'U', 'z', 'F', '9751', 'f', '1571', 'O', 967, 5405, 1323, 'G', 'F', 'E']