#include <bits/stdc++.h>   using namespace std;   int withoutzero(int x);   int main() {     int a, b, c, d, e, f;     cin >> a >> b;     d = withoutzero(a);     e = withoutzero(b);     c = a + b;     f = withoutzero(c);     if ((d + e) == f) {       cout <<  YES ;     } else {       cout <<  NO ;     }   }   int withoutzero(int x) {     int arr[10], i = 0, t = 0, k = 0;     while (x > 0) {       arr[i] = x % 10;       x = x / 10;       i++;     }     for (int j = 0; j < i; j++) {       if (arr[j] != 0) {         t += arr[j] * pow(10, k);         k++;       }     }     return t;   }   