#include <stdio.h>
int main(void) {
int i,j,k=1;
for(i=1;i<=4;i++)
{
for(j=1;j<=4;j++)
{
if(j<=i)
{
k++;
}
else
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgaSxqLGs9MTsKCWZvcihpPTE7aTw9NDtpKyspCgl7CgkJZm9yKGo9MTtqPD00O2orKykKCQl7CgkJCWlmKGo8PWkpCgkJCXsKCQkJCXByaW50ZigiJWQgIixrKTsKCQkJCWsrKzsKCQkJfQoJCQllbHNlCgkJCQlwcmludGYoIiAgIik7CgkJfQoJCXByaW50ZigiXG4iKTsKCX0KCXJldHVybiAwOwp9Cg==