#include using namespace std; int main(){ string S; cin >> S; int N = S.size(); if(S[0] == '-') cout << 0 << endl; else if(N <= 2) cout << 0 << endl; else{ for(int i=0;i