#include "bits/stdc++.h" using namespace std; #define i_(x) i##x #define r_(x) r##x #define f_(x) f##x #define m_(x) m##x #define s_(x) s##x #define i_nt i_(nt) #define i_f i_(f) #define f_or f_(or) // if i_nt m_(ain)() { s_(tring) s; cin >> s; i_nt t = 0; i_nt ok = true; map mm; f_or (i_nt i = 0; i+8 < s.size(); ++i) { set bb; f_or (i_nt j = 0; j < 9; ++j) { bb.insert(s[i+j]); } i_f (bb.size() == 9) { cout << "Yes" << endl; r_(eturn) 0; } } cout << "No" << endl; }