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