<?php

$n = ($argc == 2) ? $argv[1] : 250;
nestedloop($n);
function nestedloop($n) 
{
  $x = 0;
  for ($a=0; $a<$n; $a++)
    for ($b=0; $b<$n; $b++)
      for ($f=0; $f<$n; $f++)
        $x++;
  print "$x\n";
}

?>