importjava.util.Scanner;publicclasstest{publicstaticvoidmain(String[]args){Scanner myInput =newScanner(System.in);int a =myInput.nextInt();;int y =1;while(y >0){while(a >50){ a = a +1; y = y +1;if(a >10){if(a >100){ a = a *5;break;}else{ y = y / a;}}}}System.out.println(y);}}
public static void main(java.lang.String[] r2) {
java.util.Scanner r2 = new java.util.Scanner
java.io.InputStream r0 = java.lang.System.in
r2.<init>(r0)
int r2 = r2.nextInt()
r0 = 1
Lc:
if (r0 <= 0) goto L23
Le:
r1 = 50
if (r2 <= r1) goto Lc
int r2 = r2 + 1
int r0 = r0 + 1
r1 = 10
if (r2 <= r1) goto Le
r1 = 100
if (r2 <= r1) goto L21
int r2 = r2 * 5
goto Lc
L21:
int r0 = r0 / r2
goto Le
L23:
java.io.PrintStream r2 = java.lang.System.out
r2.println(r0)
return
}
public static void main(String[] strArr) {
int nextInt = new Scanner(System.in).nextInt();
int i = 1;
L2:
if (i <= 0) goto L20;
L4:
if (nextInt <= 50) goto L2;
nextInt = nextInt + 1;
i = i + 1;
if (nextInt <= 10) goto L4;
if (nextInt > 100) goto L14;
i = i / nextInt;
goto L4
L14:
nextInt = nextInt * 5;
goto L2
L20:
System.out.println(i);
}
public static void main(String[] strArr) {
int nextInt = new Scanner(System.in).nextInt();
int i = 1;
while (i > 0) {
while (true) {
if (nextInt > 50) {
nextInt++;
i++;
if (nextInt > 10) {
if (nextInt > 100) {
nextInt *= 5;
break;
}
i /= nextInt;
}
}
}
}
System.out.println(i);
}