import algorithm var N = stdin.readLine N.sort(cmp, Descending) echo N