#include <iostream>
using namespace std;
int main(void){
    // Here your code !
    int a;
    int b;
    int num;
    
    cin>>a;
    cin>>b;
    cout<<a; cout<<" "; cout<<b<<endl;
      while(a<=0 && b<=0){
        a=a/10;b=b/10;
       a++;b++;
       cout<<num<<a+b;
    }
    
    



}