#include void main(){ int m,n,i,t; long int s=0; scanf("%d,%d",&m,&n); if(m>n) {t=m;m=n;n=t;} for(i=m+1;i>m && i { if(i%3!=0 && i%7!=0) s=s+i; } printf("Sum is: %ld\n",s);}