modify leetcode candy: break the too long line