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

/**************************************************************
	Problem: 1302
	User: lijinkai
	Language: C++
	Result: Wrong Answer
****************************************************************/