/*#include <stdio.h>int main(){ int a; scanf("%d",&a); if((a%4==0)&&(a%100!=0)||(a%400==0)){ printf("yes"); } else{ printf("no"); } return 0;}*/#include <stdio.h>int main(){ int a, b; scanf("%d %d",&a, &b); printf("%d", a/10000);}