s1=input()
s2=input()
if s1.isalpha() and s2.isalpha();
print(s1+s2)
else:
print("invalid input")