#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
if(n>=30)
{
cout<<n*1.0;
}
else if(n>=20 && n<=29)
{
cout<<n*1.2;
}
else if(n>=10 && n<=19)
{
cout<<n*1.5;
}
else
{
cout<<n*1.8;
}
return 0;
}
2
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
if(n>=86)
{
cout<<"VERY GOOD";
}
else if(n>=60 && n<=85)
{
cout<<"GOOD";
}
else if(n<60)
{
cout<<"BAD";
}
return 0;
}