/* -*- coding: utf-8 -*- * * 3481.cc: No.3481 495 - yukicoder */ #include #include using namespace std; /* main */ int main() { int n; scanf("%d", &n); int a = n / 100, b = (n / 10) % 10, c = n % 10; if (a + c == b) puts("Yes"); else puts("No"); return 0; }