#include<bits/stdc++.h> using namespace std; int main(){ int x,y=0,z=0; float j; cin>>x; y=x*3; z=y-8; cout<<y<<endl<<z<<endl; j=(x+y+z)*1.0/3; printf("%.1f",j); } /************************************************************** Problem: 1601 User: linmiaoling Language: C++ Result: Accepted Time:12 ms Memory:2072 kb ****************************************************************/