This program displays images listed on the command line and waits for user input typed into the wnodw. If the input is the letter "y", the name of the image file is written to standard output. If the input is "q", the program terminates. Other input is ignored.