Exits given any input since it's reading one char at a time