<?php
function doCut($w)
{
$half = $w / 2;
$half_floor = floor($half); if ($half != $half_floor || $half < 2)
{
return "No\n";
}
return "Yes\n";
}
echo doCut(2);
echo doCut(20);
echo doCut(99);
echo doCut(44);
echo doCut(14);
PD9waHAKCmZ1bmN0aW9uIGRvQ3V0KCR3KQp7CgkkaGFsZiA9ICR3IC8gMjsJCgkkaGFsZl9mbG9vciA9IGZsb29yKCRoYWxmKTsKCWlmICgkaGFsZiAhPSAkaGFsZl9mbG9vciB8fCAkaGFsZiA8IDIpCgl7CgkJcmV0dXJuICJOb1xuIjsKCX0KCQkKCQlyZXR1cm4gIlllc1xuIjsKCgp9CmVjaG8gZG9DdXQoMik7CmVjaG8gZG9DdXQoMjApOwplY2hvIGRvQ3V0KDk5KTsKZWNobyBkb0N1dCg0NCk7CmVjaG8gZG9DdXQoMTQpOw==