Issue #9. Added validation of last choice input.