#include <iostream> using namespace std; int main() { int a; cin>>a; if(a==123456) { cout<<"OK"<<endl; } else { cout<<"NO"<<endl; } }