#include<stdio.h>
int main() {
	
	char character1[100];
	char character2[100];
	
	scanf("%s", character1);
	scanf("%s", character2);
	printf("%s%s", character2, character1);
	
	return 0;
}
/*
      author : nishi5451
      created: 11.08.2020 22:36:41
*/

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<n; i++)
typedef long long ll;


int main(){
    string s,t;
    cin >> s >> t;
    string ans = t+s;
    cout << ans << endl;
    return 0;
}