import List;main=getLine>>(interact$unwords.map show.(sort::[Int]->[Int]).map read.words)