fork download
  1. #include <stdio.h>
  2. int main(){
  3. unsigned short int in, i;
  4.  
  5. scanf("%hd", &in);
  6.  
  7. for( i = 1; i <= in; i++ ) printf( i & 3 ? "%d " : "PUM\n", i );
  8. return 0;
  9. }
Success #stdin #stdout 0s 2116KB
stdin
10
stdout
1 2 3 PUM
5 6 7 PUM
9 10