func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, x[1000], y[1000], z[1000], t = 0, s = 0, d = 0;     cin >> n;     for (int i = 1; i <= n; i++) {       cin >> x[i] >> y[i] >> z[i];       t += x[i];       s += y[i];       d += z[i];     }     if (t == 0 && s == 0 && d == 0)       cout <<  YES ;     else       cout <<  NO ;   }   