#include <stdio.h>
#include <ctype.h>
#include <string.h>
void truncW (char t[], int n) {
for (int i = 0, j = 0; i < s; i++, j++) {
// printf("%d, %d, %d, '%c'", i, j, s, t[i]);
j = -1;
} else if (j < n) {
}
}
}
int main(void) {
char t[] = "liberdade, igualdade e fraternidade";
truncW(t, 4);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxjdHlwZS5oPgojaW5jbHVkZSA8c3RyaW5nLmg+Cgp2b2lkIHRydW5jVyAoY2hhciB0W10sIGludCBuKSB7CiAgICBpbnQgcyA9IHN0cmxlbih0KTsKICAgCWZvciAoaW50IGkgPSAwLCBqID0gMDsgaSA8IHM7IGkrKywgaisrKSB7CiAgICAJaWYgKGlzc3BhY2UodFtpXSkgPiAwKSB7CiAvLyAgIAkJcHJpbnRmKCIlZCwgJWQsICVkLCAnJWMnIiwgaSwgaiwgcywgdFtpXSk7CiAgICAJCWogPSAtMTsKICAgIAkJcHJpbnRmKCIgIik7CiAgICAJfSBlbHNlIGlmIChqIDwgbikgewogICAgCQlwcmludGYoIiVjIiwgdFtpXSk7CiAgICAJfQogICAgfQp9CgppbnQgbWFpbih2b2lkKSB7CiAgIGNoYXIgdFtdID0gImxpYmVyZGFkZSwgaWd1YWxkYWRlIGUgZnJhdGVybmlkYWRlIjsKICAgdHJ1bmNXKHQsIDQpOwp9