for+if/else