import java.util.*; public class Main { public static void main(String[] args ) throws Exception { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); if(N % 100 == 0){ int M = N / 100; System.out.println(M); }else{ System.out.println(0); } } }