In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 'Q', '2509', 'f', '2489', 'x', '297', '5119', '6275', '7609', 'b', '5429', '2073', 'V', 'g', '275', 'p', '5815', '7685', 'r', 'R', 'c', '8433', '5313', 'J', '9889', 'S', 'x', 'K', 8537, 'h', 123, 'D', 'u', 1667, 'U', 'g', 6217, 9609, 't', 'l', 5891, 'O', 3153, 'O', 3011], [6305, 'N', 7701, 'k', 9937, 'Z', 'h', 3737, 'I', 1827, 5551, 6681, 1419, 6957, 'o', 9231, 'g', 'O', 3129, 'e', 'M', 'k', '2509', 'f', '2489', 'x', '297', '5119', '6275', '7609', 'b', '5429', '2073', 'V', 'g', '275', 'p', '5815', '7685', 'r', 'R', 'c', '8433', '5313', 'J', '9889', 7743, 'g', 'B', 1391, 1593, 6665, 'f']