You are given an array of numbers and
must simplify the array by replacing ranges of 3 or more items with the
shorthand #-# equivalent and returning the result as a string, sorted
from lowest to highest
/**
Auto-generated code below aims at helping you parse
the standard input according to the problem statement.
**/
var N = readline();
// Write an action using print()
// To debug: printErr(‘Debug messages…’);
for( var i = 0; i < N.length; i++) {
printErr(N[i]);
}