#include <iostream>
int f()
{
int x;
std::cin >> x;
return x;
}
int main()
{
int x = (f(), f(), f());
std::cout << x;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IGYoKQp7CglpbnQgeDsKCXN0ZDo6Y2luID4+IHg7CglyZXR1cm4geDsKfQoKaW50IG1haW4oKQp7CglpbnQgeCA9IChmKCksIGYoKSwgZigpKTsKCXN0ZDo6Y291dCA8PCB4Owp9Cg==