#include #include using namespace std; int main(){ string in; int i,n; int count=0; int len; cin>>in; if(in[0]!='1'){ cout<<"-1"<