#include<bits/stdc++.h>
using namespace std;
int main(){
	float n,f,g,h;
	cin>>n;
	f=n+8;
	h=f-2;
	g=(n+f+h)/3.0;
	cout<<n<<endl;
	cout<<f<<endl;
	cout<<h<<endl;
	printf("%.1f",g);
}
/**************************************************************
	Problem: 1612
	User: wangyiyang
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/