In the third test case, the sum of the first three digits is $$$0 + 4 + 5 = 9$$$ and the…
- User
In the third test case, the sum of the first three digits is and the sum of the last three digits is , they are equal so the answer is "YES".
Assistant
From the problem fragment: In the third test case, the sum of the first three digits is and the sum of the last three digits is , they are equal so the answer is "YES".