Anders Kaseorg's submission of Sum and GCD | CodeChef