#include <stdio.h>
int main(void) {
int m,n,sum=0,i;
if(m>n){
m=n+m;
n=m-n;
m=m-n;
}
for(i=m;i<=n;i++){
if(i%17==0)
sum+=i;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgbSxuLHN1bT0wLGk7CglzY2FuZigiJWQgJWQiLCZtLCZuKTsKCWlmKG0+bil7CgkJbT1uK207CgkJbj1tLW47CgkJbT1tLW47Cgl9Cglmb3IoaT1tO2k8PW47aSsrKXsKCQlpZihpJTE3PT0wKQoJCSAgc3VtKz1pOwoJfQoJcHJpbnRmKCIlZCIsc3VtKTsKCXJldHVybiAwOwp9Cg==