Solving Tasks from ConditionalStatementHomework