public class Fib
{
  public static int fib(int n)
  {
    int returnValue;
    if(0 == n)
    {
      returnValue = 1;
    }
    else if(1 == n)
    {
      returnValue = 1;
    }
    else
    {
      returnValue = Fib.fib(n-1) + Fib.fib(n-2);
    }

    return returnValue;
  } // public static int fib(int n)

} // public class Fib

