At the fair, Kate found a strange machine with a sign on it labeled, "Enter a number." When she pushed the
number 15, the machine displayed 9. When she entered 23, the machine displayed 17. Perplexed, she tried 100,
and the machine displayed 94. What is the rule the machine is using?