atoi: to gather all the input requirements up front.