= 0; $i--) { if ($point[$i]) { $point[$i + $weight] = true; } } } echo ($point[$sum / 2]) ? 'possible' : 'impossible';