program qwe;
var a, b, c : LongInt;
begin
read (a,b,c);
if c > 9 and c < 99 then write(a,' ')
else if c > 9 and c < 99 then write (b,' ')
else if c > 9 and c < 99 then write (c,' ')
else
if a > 99 and a < 999 then write (a, ' ');
if b > 99 and b < 999 then write (b, ' ');
if c > 99 and c < 999 then write (c, ' ');
end.