awk '{$5="NO"}$6=$1*$2%$3;$6==$4||($6==0&&$4==$1*$2){$5="YES"}$0=$5'