def palindromeRearranging(inputString): return sum(map(lambda x: inputString.count(x) % 2, set(inputString))) <= 1