# Join method explained "".join(list)
# String multiplication explained "l"*2
# String concat explained str + str

he = ''.join(["H","e","l"*2,"o"])
wo = ''.join(["W","o","r","l","d"])
print(he + " " + wo)