Maximum in Unimodal Sequence (#517) - Azerbaijan Computing Olympiad