#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string a,b;
  cin>>a>>b;
  cout<<b<<a;
}
#include <iostream>
#include <math.h>
#include <string>

using namespace std;
int main()
{
    int a,b,c,temp=0,temp2=0;
    cin>>a>>b>>c;
    swap(a,b);
    swap(a,c);
    cout<<a<<" "<<b<<" "<<c<<endl;


    return 0;
}
