#include #include using namespace std; int main() { int a,b,c; cin >> a >> b >> c; string ans; if(a/b*2 == a/c*3)ans = "YES\n"; else ans = "NO\n"; cout << ans; return 0; }