Enter value of $n

<?php
$n = 2;
$array = array(44,16,81,12);
$unique = array();
$unique = array_unique($array);
sort($unique);
echo $height = $unique[count($unique)-$n];
?>

OUTPUT: 44