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