Each condition of two (#63) - Azerbaijan Computing Olympiad