print~("$System.in"=~/\s\d+/)*.toLong().sort().join(' ')