Rare easy problem , Math , Adhoc