#include #include using namespace std; int main(){ int c1=0,c2=0; string S; cin >> S; for(int i=0;ic2-1) cout << c2-1; else cout << c1-2; return 0; }