#include<iostream>
#include <cmath>
using namespace std;
int main()
{
cout << "Hello World!\n";
int n, m;
float rad;
bool t;
cout << "n?";
cin >> n;
//n=1;
m=0;
//cin >> x;
for (int x=0;x<360;x++){
cout << "x=" << x << " ";
rad = x*3.14159/180;
//cout << "rad=" << rad << " ";
if (sin(pow(x,n))<0){
cout << "sin is less than zero; m=m+1" << endl;
m++;
}
cout << "m=" << m << " ";
t=m==3;
cout << "t=" << (t?"true":"false"
<< endl;
if(t)break;
}
return 0;
}