#include<bits/stdc++.h>
using namespace std;
int main(){

	int n;
	cin>>n;
	if(n>10){
		cout<<n*2.0;
	}
	if(n<10){
		cout<<n*2.2;
	}
	cout<<fixed<<setprecision(1)<<n;

	return 0;
}

/**************************************************************
	Problem: 1303
	User: huangyaojie3
	Language: C++
	Result: Wrong Answer
****************************************************************/