include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
int x,y;
while(cin>>x>>y,x>0&&y>0){
if(x>y) swap(x,y);
for(int i=x;i<=y;i++)
cout<<i<<" ";
cout<<"Sum="<<(x+y)*(y-x+1)/2<<endl;
}
return 0;
}