Ecency
Math Contest #26 Alternative Solution