#include <stdio.h>
int main() {
{
int i,j,a;
if(i<j)
for(i=i; i<=j; i++) {
a=a+i;
}
else
for(j=j; j<=i; j++) {
a=a+j;
}
}
return 0;
}
CgojaW5jbHVkZSA8c3RkaW8uaD4KCmludCBtYWluKCkgewp7CQoJaW50IGksaixhOwoJc2NhbmYoIiVkIiwmaSk7CglzY2FuZigiJWQiLCZqKTsKCQoJaWYoaTxqKQoJZm9yKGk9aTsgaTw9ajsgaSsrKSB7CgkJCgkJYT1hK2k7CgkJcHJpbnRmKCIlZCIsYSk7CgkJCgl9CgkKICAgIGVsc2UJCiAgICBmb3Ioaj1qOyBqPD1pOyBqKyspIHsKICAgIAkKICAgIAlhPWErajsKICAgIAlwcmludGYoIiVkIixhKTsKICAgIH0KfQoJCgkKCQlyZXR1cm4gMDsKfQo=