/* To find the fibbonacci series */
/* 0,1,1,2,3,5,8,13,21 */
#include< stdio.h>
#include< conio.h>
main()
{
	int number,answer;
	clrscr();
	printf("enter value\n");
	scanf("%d",&number);
	answer=fibbo(number);
	printf("%d",answer);
	getch();
}
fibbo(int number)
{
	int result;
	if (number==1)
		return 0;
	else if(number == 2)
		return 1;
	else
		result=number + fibbo(number - 1)+fibbo(number - 2);
	//	printf("%d,",result);

}