#include<stdio.h> int main() { int k,i; double sn=0; scanf("%d",&k); for(i=1;i<16;i++) { sn=1.0/i+sn; if(sn>k) break; } printf("%d",i); }