//C language
//solution link(含註解):
#include<stdio.h>
int
main(){
n;
scanf
(
"%d"
,&n);
printf
,n-1911);
return
0;
}