#include <bits/stdc++.h>   using namespace std;   long long qitaceruts(long long num) {     long long n = 0, d, p = 1;     while (num > 0) {       d = num % 10;       num = num / 10;       if (d != 0) {         n = (d * p) + n;         p *= 10;       }     }     return n;   }   int main() {     long long a, b, c1, c2;     cin >> a >> b;     c1 = a + b;     a = qitaceruts(a);     b = qitaceruts(b);     c1 = qitaceruts(c1);     if (a + b == c1) {       cout <<  YES n ;     } else {       cout <<  NO n ;     }     return 0;   }   