fork download
  1. // Problem: F. February 5
  2. #include <bits/stdc++.h>
  3. using namespace std;
  4. void solve()
  5. {
  6. string s;
  7. cin >> s;
  8. if (s[0] == '5' || s[1] == '5')
  9. {
  10. cout << "Yes";
  11. }
  12. else
  13. {
  14. cout << "No";
  15. }
  16. }
  17. int main()
  18. {
  19. int t = 1;
  20. // cin >> t;
  21. while (t--)
  22. {
  23. solve();
  24. }
  25. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
No