friend_a = input()
friend_b = input()
print(friend_a+friend_b)