input format iteration 1