puts gets.to_i>2?gets.split.map(&:to_i).sort.join(' '):gets