#include #include using namespace std; int main(int argc, char* argv[]) { string S; cin>>S; if (S.length()<=2){ cout<<-1<