#include <iostream>
#include <string>
#include <vector>
#include <math.h>
#include <algorithm>
#include <utility>
typedef long long ll;
const int INF = 1e9+1;
const int MOD = 2e9 + 9;
const ll LINF = 1e18;
using namespace std;

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

#include <stdio.h>

int main() {
    char aa[105], bb[105];
    scanf("%s %s", aa, bb);
    printf("%s%s", bb, aa);


    return 0;
}