#include <stdio.h>

int main() {
  char s1[101], s2[101];
  scanf("%s %s", s1, s2);
  printf("%s%s\n", s2, s1);
  return 0;
}
#include <bits/stdc++.h>

using namespace std;

#define ll long long
#define F first
#define S second
#define ii pair < int , int >

const int N=1;

int main()
{
    string x,y;
    cin>>x>>y;
    cout<<y+x;
}
