public class fibonacci
{
  public static void main(String args[])
  {
    
    int ele = Keyboard.readInt("Número de Elementos");
    
    int ant = 0;
    int post = 1;
    int aux = 0;

    while(ele>=0)
    {
      System.out.println(ant);
      aux=post;
      post=post+ant;
      ant=aux;
      
      ele = ele - 1;
    }
  }
}
