#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
double m;
cin>>a>>b>>c;
m=(a+b+c)/3.0;
cout<<a+b+c<<endl;
printf("%.1f",m);
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main(){
int x,y,z;
cin>>x>>y>>z;
cout<<x+y+z<<endl<<fixed<<setprecision(1)<<(x+y+z)*1.0/3;
return 0;
}