Define a generator that would generate a list of given names, using the yield from expression for this. You will get names separated by space as input. Print out the names one by one on separate lines.
There are several ways to solve such tasks, but this time use yield from, please.