Bui Nguyen Ngoc Thang's submission of Puppy and Sum | CodeChef