countdown(0,1).

countdown(N,F) :-  
   N>0, 
   N1 is N-1, 
   countdown(N1,F1), 
   F is F1.
