In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 999, 8589, 'N', 'i', 'q', 's', 5189, 4961, '37', '6471', '6635', 's', '2205', '8707', 'l', '477', '6477', 'm', 'O', '1155', 'L', 'g', 'o', '227', 'B', 't', 'o', 'n', 'C', '5711', '479', 'B', 'k', 'X', 'S', 'W', 'X'], ['m', 2511, 'f', 2183, 6907, 7813, 'Y', 7813, 4861, 2167, 'D', 7545, 'K', 3339, 4395, 'Q', 9285, 5857, 'x', 'a', 'G', 'k', 1163, 'u', '37', '6471', '6635', 's', '2205', '8707', 'l', '477', '6477', 'm', 'O', '1155', 'L', 'g', 'o', '227', 'B', 't', 'o', 'n', 'C', '5711', '479', 'B', 'k', 'X', 'u', 8621, 'n', 6713, 'J', 3289, 6211, 1373, 'L', 647, 'E', 6635, 9071, 'k', 'v', 8367, 9667, 'S', 'w', 'l', 'V', 'g', 'f', 'c']