uses crt;
var
a, b , c: real;
begin
readln (a, b, c);
if (a> b) and (a>c) then writeln (a, ' MAX');
if (b>a) and (b>c) then writeln (b, ' MAX');
if (c>a) and (c>b) then writeln (c, ' MAX');
if (c=a) and (c=b) then writeln ('VSE CHISLA RAVNI');
readkey;
end.