#include #include using namespace std; #define p(x) cout << x << endl; #define el cout << endl; int main(){ cin.tie(0); ios::sync_with_stdio(false); string s; cin >> s; // 検索する文字列 string search = "575"; if(s.find(search) != string::npos){ printf("YES\n"); }else{ printf("NO\n"); } }