#include <stdio.h>
int main(void) {
int a= 0;
int n= 0;
while (a<= 1000) {
n = n + 1;
a=a+ n;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CmludCBhPSAwOwogICAgaW50IG49IDA7CgogICAgd2hpbGUgKGE8PSAxMDAwKSB7CiAgICAgICAgbiA9IG4gKyAxOwogICAgICAgIGE9YSsgbjsKICAgIH0KCiAgICBwcmludGYoIiVkIixuKTsKCiAgICByZXR1cm4gMDsKfQo=