zscoder's submission of Weird Sum | CodeChef