>>778
main(n){scanf("%d",&n);printf("%d0\n",n>900?1000:n+100);}