#include int main(void){ double x; unsigned long long k,y; scanf("%llu",&k); for(y = k; y < 9999999999999; y++){ x = k*y/(double)(y-k); if(x < y) break; if(x - (int)x < 10e-6){ unsigned long long b,s; b = x>y?x:y; s = x