<?php
fscanf(STDIN, "%d %d %d %d", $A, $B, $C, $D);
if ($B > $C && $D > $A && $C + $D > $A + $B && ($C > 0 && $D > 0) && $A % 2 == 0) {
    echo "Valores aceitos\n";
} else {
    echo "Valores nao aceitos\n";
}
?>

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: