begin

read($_1);
read($_2);
read($_3);

if ($_1 > $_2) 
then begin
        if ($_1 > $_3)
        then begin 
                  if ($_2 > $_3) 
                  then begin write($_1);write($_2);write($_3); end
                  else begin write($_1);write($_3);write($_2); end
                  endif
             end
        else begin 
                  write($_3);write($_1);write($_2);
             end
        endif
     end
else begin
          if ($_1 < $_3)
          then begin
                    if ($_2 < $_3)
                    then begin write($_3);write($_2);write($_1); end
                    else begin write($_3);write($_1);write($_2); end
                    endif
               end
          else begin
                    write($_2);write($_1);write($_3); 
               end
          endif
     end
endif

end



