print shorter numbers if possible