
#include<bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define REP(i,a,b) for(inti=a;i<=b;i++)

typedef long long int ll;
typedef vector<int>vi;
typedef pair<int,int>pi;



int main()
{
string s ,t;
cin>>s>>t;

cout<<t<<s<<endl;
 return 0;
}

#include<stdio.h>
 
int main()
{
	char a[105];
	char b[105];
	scanf("%s %s", &a, &b);
	printf("%s%s", &b, &a);
	return 0;
}