This is an interesting way to parse user input. It seems perfectly effective, but this didn't occur to me while working through the problem on my own. Kudos.