I cannot find the problem with my code. I even put the negative input into consideration.