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