#include <iostream>
using namespace std;
class cubiod
{
private:
float t;
float width;
float height;
public:
void set_t(float t)
{
this->t=t;
}
void set_w(float width)
{
this->width=width;
}
void set_h(float height)
{
this->height=height;
}
float area()
{
return t*width*height;
}
void comp(cubiod &c1)
{
float area2=c1.t*c1.width*c1.height;
if(area2>area())
{
cout<<"second is bigger"<<endl;
}
else
{
cout<<"first is bigger"<<endl;
}
}
cubiod(float t,float width,float height)
{
this->t=t;
this->width=width;
this->height=height;
}
};
int main()
{
float t;
float width;
float height;
cubiod c(t,width,height);
cin>>t;
c.set_t(t);
cin>>width;
c.set_w(width);
cin>>height;
c.set_h(height);
cubiod c1(3,4,5);
c.comp(c1);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpjbGFzcyBjdWJpb2QKewpwcml2YXRlOgogICAgZmxvYXQgdDsKICAgIGZsb2F0IHdpZHRoOwogICAgZmxvYXQgaGVpZ2h0OwpwdWJsaWM6CiAgICB2b2lkIHNldF90KGZsb2F0IHQpCiAgICB7CiAgICAgICAgdGhpcy0+dD10OwogICAgfQogICAgdm9pZCBzZXRfdyhmbG9hdCB3aWR0aCkKICAgIHsKICAgICAgICB0aGlzLT53aWR0aD13aWR0aDsKICAgIH0KICAgIHZvaWQgc2V0X2goZmxvYXQgaGVpZ2h0KQogICAgewogICAgICAgIHRoaXMtPmhlaWdodD1oZWlnaHQ7CiAgICB9CiAgICBmbG9hdCBhcmVhKCkKICAgIHsKICAgICAgcmV0dXJuIHQqd2lkdGgqaGVpZ2h0OwogICAgfQogICAgdm9pZCBjb21wKGN1YmlvZCAmYzEpCiAgICB7CiAgICAgICAgZmxvYXQgYXJlYTI9YzEudCpjMS53aWR0aCpjMS5oZWlnaHQ7CiAgICAgICAgaWYoYXJlYTI+YXJlYSgpKQogICAgICAgIHsKICAgICAgICAgICAgY291dDw8InNlY29uZCBpcyBiaWdnZXIiPDxlbmRsOwoKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgIHsKICAgICAgICAgICAgY291dDw8ImZpcnN0IGlzIGJpZ2dlciI8PGVuZGw7CiAgICAgICAgfQoKICAgIH0KICAgIGN1YmlvZChmbG9hdCB0LGZsb2F0IHdpZHRoLGZsb2F0IGhlaWdodCkKICAgIHsKICAgICAgICB0aGlzLT50PXQ7CiAgICAgICAgdGhpcy0+d2lkdGg9d2lkdGg7CiAgICAgICAgdGhpcy0+aGVpZ2h0PWhlaWdodDsKICAgIH0KCn07CmludCBtYWluKCkKewogICAgIGZsb2F0IHQ7CiAgICBmbG9hdCB3aWR0aDsKICAgIGZsb2F0IGhlaWdodDsKICAgY3ViaW9kIGModCx3aWR0aCxoZWlnaHQpOwogICAgY2luPj50OwogICAgYy5zZXRfdCh0KTsKICAgIGNpbj4+d2lkdGg7CiAgIGMuc2V0X3cod2lkdGgpOwogICBjaW4+PmhlaWdodDsKICAgYy5zZXRfaChoZWlnaHQpOwogICBjdWJpb2QgYzEoMyw0LDUpOwogICBjLmNvbXAoYzEpOwoKICAgIHJldHVybiAwOwp9