#include <iostream>
using namespace std;
int main()
{int tio(int n);
int a,b;
cout<<"please enter number:";
cin>>b;
a=tio(b);
cout<<"answer:"<<a;
return 0;
}
int tio(int n)
{int x;
if (n<1)
x=1;
else if (n>1&&n<4)
x=1;
else if (n>4&&n<6)
x=1;
else if (n>6&&n<9)
x=1;
else if (n>9&&n<10)
x=1;
else if (n>10&&n<15)
x=1;
else if (n>15&&n<25)
x=1;
else x=0;
return (x);
}