#include<bits/stdc++.h>
using namespace std;
int main()
{
	int t;
    cin>>t;
    if (t<=1&&t<=30){
    	cout<<"Ok";
    }
    else {
    	cout<<"NO";
    }
return 0;
}

/**************************************************************
	Problem: 1302
	User: chenzelin
	Language: C
	Result: Compile Error
****************************************************************/