include<stdio.h>

main()
{int n,m;
scanf("%d",&n);
m=(n+5)/10*10;
printf("%d",m);}