#include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; if(n>59){ cout<<"YES"; }else{ cout<<"NO"; } }