John Smith's submission of Weird Sum | CodeChef