#include <iostream>
#include <string>
using namespace std;
int main(void) {
string str = "12345";
int pos = 1;
cout << str.substr(pos).substr(pos).substr(pos).size() << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4odm9pZCkgeyAKICAgICAgICBzdHJpbmcgc3RyID0gIjEyMzQ1IjsgCiAgICAgICAgaW50IHBvcyA9IDE7IAogICAgICAgIGNvdXQgPDwgc3RyLnN1YnN0cihwb3MpLnN1YnN0cihwb3MpLnN1YnN0cihwb3MpLnNpemUoKSA8PCBlbmRsOyAKICAgICAgICByZXR1cm4gMDsgCn0g