function sliceNum($num){ if($num == 1){ return $num; }elseif ($num == 2){ return $num; }else{ return $this->sliceNum($num-1)+$this->sliceNum($num-2); }}