#include <iostream>
using namespace std;
int main()
{
int a, b;
while (cin >> a >> b)
{
if (a <= 0 || b <= 0) break;
if (a > b) swap(a, b);
for (int i = a; i <= b; i++) cout << i << ' ';
cout << "Sum=" << (a + b) * (b - a + 1) / 2 << endl;
}
return 0;
}
不错
奥利给
确实
奥利给
确实
奥利给