Xuandi Ren's submission of Weird Sum | CodeChef