a student life fraught complication some Berland University student know having study year contract strong antipathy chairperson department indeed person question was not kind lady begin prone reform group ban automatic pass mean deed at student decide can not away anymorethe student pull string high level learn University director meet go discuss n order chairperson accept exactly p there value assign order ai number chairperson hair turn grey obeys order bi displeasement director order is not obey the student director pass p order choose the student know chairperson obey exactly k p order she pick order obey way minimize director displeasement second number hair head turn greyThe student want choose p order way maximize number hair chairperson head turn grey if multiple way accept order student keen maximize director displeasement chairperson action help