A Math Problem

UVALive - 7271