#include<bits/stdc++.h> using namespace std; int main(){ int x,y,z,c; double ans; cin>>x>>y>>z; c=x+y+z; ans=c/3.0; cout<<c<<endl; printf("%.1f",ans); } /************************************************************** Problem: 1602 User: wangyichen2 Language: C++ Result: Accepted Time:9 ms Memory:2072 kb ****************************************************************/