Successfully allow only numberals for input