#include using namespace std; /////////////////// メイン /////////////////// int main () { //////////////////// 入力 //////////////////// string n; cin >> n; //////////////// 出力変数定義 //////////////// int result = n.size()-1; if (result==0) result = -1; //////////////////// 処理 //////////////////// for (int i=0; i