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