#include #include #include #include using namespace std; int main() { double rad = 1 * M_PI / 180.0; double tanI = tan(rad); double cosI = cos(rad); double sinI = sin(rad); bool isRational = (fmod(tanI, 1.0) == 0.0) || (cosI == 0.0) || (sinI == 0.0); if (isRational) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }