#include <stdio.h>
int main()
{
float x, y;
scanf("%f,%f", &x, &y);
float distance = (x - 2) * (x - 2) + (y - 2) * (y - 2);
if (distance < 1)
{
printf("In the circle\n");
}
else if (distance > 1)
{
printf("Outside the circle\n");
}
else
{
printf("On the circle\n");
}
return 0;
}