#include <stdio.h>
int main(void)
{
int a[33],i,sum;
a[0]=2; a[1]=-1; sum=0;
for(i=0;i<32;i++)
{
a[i+2]=-a[i+1]+a[i]+2;
}
for(i=0;i<=33;i++)
{
if(i%4==0)
sum=sum+a[i];
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSAKewppbnQgYVszM10saSxzdW07CmFbMF09MjsgYVsxXT0tMTsgc3VtPTA7CmZvcihpPTA7aTwzMjtpKyspCnsKYVtpKzJdPS1hW2krMV0rYVtpXSsyOwp9CmZvcihpPTA7aTw9MzM7aSsrKQp7CmlmKGklND09MCkKc3VtPXN1bSthW2ldOwp9CnByaW50ZigiJWQiLHN1bSk7CnJldHVybiAwOwp9Cg==