#include <iostream>
using namespace std;
int main()
{
std::cout << "Enter two numbers: " << std::endl;
int a,b;
std::cin >> a >> b;
for (int i = a+1; i < b; i++)
{
cout << i << endl;
}
for (int i = a-1; i > b; i--)
{
cout << i << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpCnsKICAgCiAgICBzdGQ6OmNvdXQgPDwgIkVudGVyIHR3byBudW1iZXJzOiAiIDw8IHN0ZDo6ZW5kbDsKICAgIGludCBhLGI7CiAgICBzdGQ6OmNpbiA+PiBhID4+IGI7CiAgICAKICAgIGZvciAoaW50IGkgPSBhKzE7IGkgPCBiOyBpKyspCiAgICB7CiAgICAgICAgY291dCA8PCBpIDw8IGVuZGw7CiAgICB9CiAgICAKICAgIGZvciAoaW50IGkgPSBhLTE7IGkgPiBiOyBpLS0pCiAgICB7CiAgICAgICAgY291dCA8PCBpIDw8IGVuZGw7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0=