#include <fstream>
//scuze, nu cunosc pascal dar l-am facut in c++
using namespace std;
ifstream fin("Fisier6.in");
ofstream fout("Fisier6.out");
float a,b,c;
int main()
{
fin >> a;
fin >> b;
fin >> c;
fout << a<<endl;
fout << b<<endl;
fout << c<<endl;
fout << (a+b+c)/3;
return 0;
}