diff --git a/Codeforces/1663/D/D.cpp b/Codeforces/1663/D/D.cpp new file mode 100644 index 00000000..6c850d28 --- /dev/null +++ b/Codeforces/1663/D/D.cpp @@ -0,0 +1,18 @@ +#include +#include + +using std::cin; +using std::cout; +const char endl = '\n'; + +int x; +std::string s; + +int main() { + std::ios::sync_with_stdio(false); + + cin >> s >> x; + cout << (s == "ABC" && x < 2000 || s == "ARC" && x < 2800 || s == "AGC" && x >= 1200 ? "Yes" : "No") << endl; + + return 0; +}