#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;
}
CgojaW5jbHVkZSA8c3RkaW8uaD4KCmludCBtYWluKCkgewp7CQoJaW50IGksaixhOwoJc2NhbmYoIiVkIiwmaSk7CglzY2FuZigiJWQiLCZqKTsKCQoJaWYoaTxqKQoJZm9yKGk9aTsgaTw9ajsgaSsrKSB7CgkJCgkJYT1hK2k7CgkJCgkJcHJpbnRmKCIlZCIsYSk7Cgl9CgkJCgkKCQogICAgZWxzZQkKICAgIGZvcihqPWo7IGo8PWk7IGorKyl7IAogICAgCQogICAgCWE9YStqOwogICAgCQogICAgCXByaW50ZigiJWQiLGEpOwogICAgfQogICAgCn0KCQlyZXR1cm4gMDsKfQo=