cleaning input for problem 4