using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace net
{
class Hello
{
static void Main()
{
Console.WriteLine(Digu(30));
}
static int Digu(int n)
{
if (n == 1 || n == 2)
{
return 1;
}
else
{
return Digu(n - 1) + Digu(n - 2);
}
}
}
}