Max's submission of Careful Calculation | CodeChef