Add getinput, fix conoutf