<?php

require_once 'readline.php';

$number = readline('Enter a number: ');
$array = [$number, $number];
for ($i = 2; $i < 10; $i++) {
	$array [] = $array[$i-2] + $array[$i-1];
}

print_r ($array);