#include <cstdlib>
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double e;
cin >> e;
double a=1, l;
do{
l = sin(1/a) * a;
a *= 2;
}while( abs(l-1)>e );
a /= 2;
cout << "Проверка пройдена при x ==" << ( a == 1 ? " " : " 1/" ) << a << endl;
}
I2luY2x1ZGUgPGNzdGRsaWI+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPGNtYXRoPgogCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKaW50IG1haW4oKQp7Cglkb3VibGUgZTsKCWNpbiA+PiBlOwoJZG91YmxlIGE9MSwgbDsKCWRvewoJCWwgPSBzaW4oMS9hKSAqIGE7CgkJYSAqPSAyOwoJICB9d2hpbGUoIGFicyhsLTEpPmUgKTsKCSAgYSAvPSAyOwoJY291dCA8PCAi0J/RgNC+0LLQtdGA0LrQsCDQv9GA0L7QudC00LXQvdCwINC/0YDQuCB4ID09IiA8PCAoIGEgPT0gMSA/ICIgIiA6ICIgMS8iICkgPDwgYSA8PCBlbmRsOwp9