program abc123;
var x,y:integer;
read(x,y);
if x=y then write(x+y)
else
if x<y then write(x)
if y<x then write(y);
end.
program abc123;
var x,y:integer;
read(x,y);
if x=y then write(x+y)
else
if x<y then write(x)
else
if y<x then write(y);
end.