#include using namespace std; #define int long long signed main(){ string S; cin>>S; if(S[0] != '1') { cout<<-1<