#include<stdio.h> int main(){ double n; int a,i=0; scanf("%lf",&n); while(i<=n){ i++; } a=i-1; printf("%d\n",a); return 0; }