#include<stdio.h> int main(){ int in; scanf("%d", &in); for (int i = 1; i <= in; i += 4) printf("%d %d %d PUM\n", i, i + 1, i + 2); } //https://pt.stackoverflow.com/q/138471/101
28
1 2 3 PUM 5 6 7 PUM 9 10 11 PUM 13 14 15 PUM 17 18 19 PUM 21 22 23 PUM 25 26 27 PUM
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!