def main():
    s=raw_input()
    a=raw_input()
    b=raw_input()
    c=raw_input()
    x = (a,b,c)
    print s.join(x)

main()


Concatenate each line of the string
Concatenate each line of the string
