Require Integer in problem 2