#include<iostream>
using namespace std;
int main()
{ int max(int a,int b,int c);
double max(double a,double b,double c);
long max(long a,long b,long c);
int i1,i2,i3,i;
cin>>i1>>i2>>i3;
i=max(i1,i2,i3);
cout<<"i_max="<<i<<endl;
double d1,d2,d3,d;
cin>>d1>>d2>>d3;
d=max(d1,d2,d3);
cout<<"d_max="<<d<<endl;
long g1,g2,g3,g;
cin>>g1>>g2>>g3;
g=max(g1,g2,g3);
cout<<"g_max="<<g<<endl;
return 0;
}
int max(int a,int b,int c)
{
if(b>a)
a=b;
if(c>a)
a=c;
return a;
}
double max(double a,double b,double c)
{
if(b>a)
a=b;
if(c>a)
a=c;
return a;
}
long max(long a,long b,long c)
{
if(b>a)
a=b;
if(c>a)
a=c;
return a;
}
using namespace std;
int main()
{ int max(int a,int b,int c);
double max(double a,double b,double c);
long max(long a,long b,long c);
int i1,i2,i3,i;
cin>>i1>>i2>>i3;
i=max(i1,i2,i3);
cout<<"i_max="<<i<<endl;
double d1,d2,d3,d;
cin>>d1>>d2>>d3;
d=max(d1,d2,d3);
cout<<"d_max="<<d<<endl;
long g1,g2,g3,g;
cin>>g1>>g2>>g3;
g=max(g1,g2,g3);
cout<<"g_max="<<g<<endl;
return 0;
}
int max(int a,int b,int c)
{
if(b>a)
a=b;
if(c>a)
a=c;
return a;
}
double max(double a,double b,double c)
{
if(b>a)
a=b;
if(c>a)
a=c;
return a;
}
long max(long a,long b,long c)
{
if(b>a)
a=b;
if(c>a)
a=c;
return a;
}