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