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