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