input number from keyboard.