#include using namespace std; typedef long long ll; #define rep(i,n) for(int i=0;iP; int main(){ string s; cin>>s; if(s.size()<3){ cout<<0<