#include <iostream>
int max(int a, int b)
{
return a > b ? a : b ;
}
int max(int a, int b, int c)
{
return max(max(a,b),c);
}
int main()
{
std::cout << max(1, 2, 3) << '\n' ;
std::cout << max(3, 2, 1) << '\n' ;
std::cout << max(3, 1, 2) << '\n' ;
std::cout << max(1, 3, 2) << '\n' ;
std::cout << max(2, 1, 3) << '\n' ;
std::cout << max(2, 3, 1) << '\n' ;
std::cout << max(-1, 1000, 9) << '\n' ;
std::cout << max(-90, -80, -70) << '\n' ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1heChpbnQgYSwgaW50IGIpCnsKICAgIHJldHVybiBhID4gYiA/IGEgOiBiIDsKfQoKaW50IG1heChpbnQgYSwgaW50IGIsIGludCBjKQp7CiAgICByZXR1cm4gbWF4KG1heChhLGIpLGMpOwp9CgppbnQgbWFpbigpCnsKICAgIHN0ZDo6Y291dCA8PCBtYXgoMSwgMiwgMykgPDwgJ1xuJyA7CiAgICBzdGQ6OmNvdXQgPDwgbWF4KDMsIDIsIDEpIDw8ICdcbicgOwogICAgc3RkOjpjb3V0IDw8IG1heCgzLCAxLCAyKSA8PCAnXG4nIDsKICAgIHN0ZDo6Y291dCA8PCBtYXgoMSwgMywgMikgPDwgJ1xuJyA7CiAgICBzdGQ6OmNvdXQgPDwgbWF4KDIsIDEsIDMpIDw8ICdcbicgOwogICAgc3RkOjpjb3V0IDw8IG1heCgyLCAzLCAxKSA8PCAnXG4nIDsKICAgIHN0ZDo6Y291dCA8PCBtYXgoLTEsIDEwMDAsIDkpIDw8ICdcbicgOwogICAgc3RkOjpjb3V0IDw8IG1heCgtOTAsIC04MCwgLTcwKSA8PCAnXG4nIDsKfQo=