#include using namespace std; using LL = long long; using ULL = unsigned long long; #define rep(i,n) for(int i=0; i<(n); i++) int main() { string S; getline(cin,S); bool ok=false; rep(l,S.size()) for(int r=l+2; r<=S.size(); r++){ int st[128] ={}; rep(i,S.size()){ if(i