#include <algorithm>
template<class T>
const T& myMax(const T& a, const T& b)
{
return (a < b) ? b : a;
}
int main()
{
auto myMaxInt = myMax<int>;
myMaxInt(1, 2);
auto stdMaxInt = std::max<int>;
stdMaxInt(1, 2);
}
I2luY2x1ZGUgPGFsZ29yaXRobT4KCnRlbXBsYXRlPGNsYXNzIFQ+CmNvbnN0IFQmIG15TWF4KGNvbnN0IFQmIGEsIGNvbnN0IFQmIGIpCnsKICAgIHJldHVybiAoYSA8IGIpID8gYiA6IGE7Cn0KCmludCBtYWluKCkKewogICAgYXV0byBteU1heEludCA9IG15TWF4PGludD47CiAgICBteU1heEludCgxLCAyKTsKCiAgICBhdXRvIHN0ZE1heEludCA9IHN0ZDo6bWF4PGludD47CiAgICBzdGRNYXhJbnQoMSwgMik7Cn0=