smartinput_endwise