read n for((i=1;i++