#include using namespace std; int main() { int n; cin >> n; n %= 100; if (4 <= n && n <= 5) { cout << "Yes" << endl; } else { cout << "No" << endl; } }