yesterday on :meta: meta hacker cup… i failed to mod correctly to prevent overflow so i switched to python (and the code was shorter :peefest:)