#include <iostream>
#include <algorithm>
template < typename T >
T max( const T& a, const T& b, const T& c )
{
return std::max({a,b,c});
}
int main()
{
std::cout << max(-1,10,-2) << '\n'
<< max('a','1','A') << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YWxnb3JpdGhtPgoKdGVtcGxhdGUgPCB0eXBlbmFtZSBUID4KVCBtYXgoIGNvbnN0IFQmIGEsIGNvbnN0IFQmIGIsIGNvbnN0IFQmIGMgKQp7CiAgICByZXR1cm4gc3RkOjptYXgoe2EsYixjfSk7Cn0KCmludCBtYWluKCkKewogICAgc3RkOjpjb3V0IDw8IG1heCgtMSwxMCwtMikgPDwgJ1xuJwogICAgICAgICAgICAgIDw8IG1heCgnYScsJzEnLCdBJykgPDwgJ1xuJzsKfQ==