def s(f:Int=>Any)=1 to readInt map(f)mkString("[",", ","]") print(s(_=>s(_=>readInt)))