Why are we accepting whitespaces? Add a comment here too that describes the two different kinds of input that we're accepting.