using System; using System.Console; /*using Nemerle.Imperative; using Nemerle.Utility;*/ def count=int.Parse(ReadLine()); foreach(max in [1..count]) { def items=[1..max]; if(max%2=0) items.reverse(); WriteLine(String.Join("-", items)) }