input main