while True:
    try:
        s1, s2 = input().split()
        print(s1+s2)
    except:
        break