#include<bits/stdc++.h> 
using namespace std;
int main(){
	int n,m,k;
	double c;
	cin>>n;
	m=n+8;
	k=n+8-2;
	c=(n+m+k)*1.0/3;
	cout<<n<<endl;
	cout<<m<<endl;
	cout<<k<<endl;
	printf("%.1f\n",c);
	return 0;
}
/**************************************************************
	Problem: 1612
	User: zhangchenyu
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/