var a,b,c: integer;
begin
readln (a,b,c);
if a>5 then writeln (a);
if b>5 then writeln (b);
if c>5 then writeln (c)
end.
var a,b,c: integer;
begin
readln (a,b,c);
if a>5 then writeln (a);
if b>5 then writeln (b);
if c>5 then writeln (c)
end.