how do i get and int. to accept only 2 numbers