read x y; a=$((x*y)); read s; b=`echo $s | tr ' ' '+' | bc`; if [ $a -eq $b ]; then echo YES; else echo NO; fi