namespace ConsoleApplication17
{
class Program
{
static void Main(string[] args)
{
string a, q;
int x, y;
string s1, s2, s3, s4;
int g1;
q = Console.ReadLine();
x = q.Length;
a = q.Substring(x - 1);
y = Convert.ToInt32(a);
s1 = q;
s2 = s1.Remove(x - 2);
s3 = s1.Substring(x - 2);
s4 = s3.Remove(1);
g1 = Convert.ToInt32(s4);
if (y < 5)
{
Console.WriteLine(q.Remove(x - 1) + "0");
}
else
{
Console.WriteLine(s2 + (g1 + 1) + "0");
}
Console.ReadKey();
}
}
}