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