#include <stdio.h>
int fibo(int n)
{
int n1 = 1;
int n2 = 1;
int n3;
int l;
int s;
int i;
for (i = 3; i < n; i++)
{
n3 = n1 + n2;
n1 = n2;
n2 = n3;
}
if (n == 1)
{
l = n + 10 - 2;
s = 2;
}
else if (n == 2)
{
l = n + 10 - 1;
s = 1;
}
else
{
l = n + 10;
s = 0;
}
for (i = n; i < l; i++)
{
n3 = n1 + n2;
n1 = n2;
n2 = n3;
s += n3;
}
return s;
}
int main()
{
int i;
for (i = 1; i < 10; i++)
{
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgZmlibyhpbnQgbikKewogIGludCBuMSA9IDE7CiAgaW50IG4yID0gMTsKICBpbnQgbjM7CiAgaW50IGw7CiAgaW50IHM7ICAKICBpbnQgaTsKICAKICBmb3IgKGkgPSAzOyBpIDwgbjsgaSsrKQogIHsKICAgIG4zID0gbjEgKyBuMjsKICAgIG4xID0gbjI7CiAgICBuMiA9IG4zOwogIH0KICAKICBpZiAobiA9PSAxKQogIHsKICAgIGwgPSBuICsgMTAgLSAyOwogICAgcyA9IDI7CiAgfQogIGVsc2UgaWYgKG4gPT0gMikKICB7CiAgICBsID0gbiArIDEwIC0gMTsKICAgIHMgPSAxOwogIH0KICBlbHNlCiAgewogICAgbCA9IG4gKyAxMDsKICAgIHMgPSAwOwogIH0KICAKICBmb3IgKGkgPSBuOyBpIDwgbDsgaSsrKQogIHsKICAgIG4zID0gbjEgKyBuMjsKICAgIG4xID0gbjI7CiAgICBuMiA9IG4zOwogICAgcyArPSBuMzsKICB9CiAgCiAgcmV0dXJuIHM7Cn0KCmludCBtYWluKCkKewogIGludCBpOwogIGZvciAoaSA9IDE7IGkgPCAxMDsgaSsrKQogIHsKICAgIHByaW50ZigiJWRcbiIsIGZpYm8oaSkpOwogIH0KICByZXR1cm4gMDsKfQo=