a,b,c = input(),input(),input() before = a / b after = a / c if(before == after * 3 / 2): print "YES" else: print "NO"