In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5737, 1353, 9501, 'K', 4287, 5717, 9067, 'C', 'P', 9611, 3947, 'O', 8045, '1509', '5251', 'e', 'B', '8183', 'm', 'V', 'F', '4351', '8105', 'W', '5899', 'P', 'h', '2627', 'k', '3905', 'r', 'a', 'a', 'N', 8753, 5083, 1321, 'x', 'r', 'h', 3919, 8569], ['p', 'M', 59, 'M', 'O', 7447, 'Q', 'X', '1509', '5251', 'e', 'B', '8183', 'm', 'V', 'F', '4351', '8105', 'W', '5899', 'P', 'h', '2627', 'k', '3905', 'r', 'a', 'm', 'I', 6439, 'f', 9479, 7601, 10011, 1717, 533, 'h', 'Y', 7965, 'G', 'V', 2479, 5143, 'q', 3499]