#include<stdio.h>
int main()
{
int i, t;
t=0;
printf("Enter total months due: "); for(i=i-2;i>0 ;i-- )
{
t = t + i * 100;
}
printf("Total penalty due: %d",t
);
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KCmludCBtYWluKCkKewogICBpbnQgaSwgdDsKICAgdD0wOwogICBwcmludGYoIkVudGVyIHRvdGFsIG1vbnRocyBkdWU6ICIpOwogICBzY2FuZigiJWQiLCZpKTsKICAgZm9yKGk9aS0yO2k+MCA7aS0tICkKICAgewogICAgICB0ID0gdCArIGkgKiAxMDA7CiAgIH0KICAgcHJpbnRmKCJUb3RhbCBwZW5hbHR5IGR1ZTogJWQiLHQpOwoKICAgcmV0dXJuIDA7Cn0=