The end of the input will be denoted by an exclamation point character. Output - exactly the same thing as the input, with two exceptions. Ys are to be replaced with Ks. Second, a blank line at the end, after the final exclama- tion point. Remember to echo everything including spaces, newlines, and the final exclama- tion point.
Computer programmers are surely messy folks.
Look at all that junk in there, probably mostly bits of Twinkies and Doritos. One young scientist, A. Cynthia McTavish is working on a solution to this problem. She is trying to develop a bacteria that will be able to live on Twinkie bits and Dorito crumbs. She needs your help in identifying the cultures. When one is placed in a culture dish, it is dormant for one day and then starts to divide.