<?php
200,
100,
100,
100
);
function doApple($n, $array)
{
$half = $summary / 200;
$half_floor = floor($summary / 200); if ($half != $half_floor || $n <= 2) {
return "No\n";
} else {
return "Yes\n";
}
}
echo doApple(4, $apples);
PD9waHAKbWJfaW50ZXJuYWxfZW5jb2RpbmcoIlVURi04Iik7CiRhcHBsZXMgPSBhcnJheSgKICAgIDIwMCwKICAgIDEwMCwKICAgIDEwMCwKICAgIDEwMAopOwpmdW5jdGlvbiBkb0FwcGxlKCRuLCAkYXJyYXkpCnsKICAgIAogICAgJHN1bW1hcnkgICAgPSBhcnJheV9zdW0oJGFycmF5KTsKICAgICRoYWxmICAgICAgID0gJHN1bW1hcnkgLyAyMDA7CiAgICAkaGFsZl9mbG9vciA9IGZsb29yKCRzdW1tYXJ5IC8gMjAwKTsKICAgIGlmICgkaGFsZiAhPSAkaGFsZl9mbG9vciB8fCAkbiA8PSAyKSB7CiAgICAgICAgcmV0dXJuICJOb1xuIjsKICAgIH0gZWxzZSB7CiAgICAgICAgcmV0dXJuICJZZXNcbiI7CiAgICB9CiAgICAKfQplY2hvIGRvQXBwbGUoNCwgJGFwcGxlcyk7