$numeri = array(‘9’, ‘6’, ‘9’, ‘5’, ‘3’);
$sottrazione=$numeri[count($numeri)-1]-$numeri[0];
echo $sottrazione;