#include<iostream>
using namespace std;
void main()
{
int x, c;
double y;
cin >> x;
if (x / 1000 == 0)
c = 1;
else if (x /1000 >= 1 && x / 1000 < 5)
c = 2;
else if (x /1000 >= 5 && x / 1000 < 10)
c = 3;
else if (x / 1000 >= 10 && x / 1000 < 100)
c = 4;
else if (x / 1000 > 100)
c = 5;
switch (c)
{
case 1:y = 0.01*x, cout << y; break;
case 2:y = 0.02*x, cout << y; break;
case 3:y = 0.03*x, cout << y; break;
case 4:y = 0.04*x, cout << y; break;
case 5:y = 0.05*x, cout << y; break;
}
getchar();
getchar();
}
using namespace std;
void main()
{
int x, c;
double y;
cin >> x;
if (x / 1000 == 0)
c = 1;
else if (x /1000 >= 1 && x / 1000 < 5)
c = 2;
else if (x /1000 >= 5 && x / 1000 < 10)
c = 3;
else if (x / 1000 >= 10 && x / 1000 < 100)
c = 4;
else if (x / 1000 > 100)
c = 5;
switch (c)
{
case 1:y = 0.01*x, cout << y; break;
case 2:y = 0.02*x, cout << y; break;
case 3:y = 0.03*x, cout << y; break;
case 4:y = 0.04*x, cout << y; break;
case 5:y = 0.05*x, cout << y; break;
}
getchar();
getchar();
}