#include "stdio.h"
main()
{
int x;
scanf("%d",&x);
if(-1<x&&x<10)
{
printf("OK");
}
else
{
printf("NOT OK");
}
}
#include "stdio.h"
main()
{
int x;
scanf("%d",&x);
if(-1<x&&x<10)
{
printf("OK");
}
else
{
printf("NOT OK");
}
}