#include <stdio.h>
int main(void) {
int a[50],i;//多めに要素を確保
a[0]=2; a[1]=6;
for(i=2;i<10;i++)
a[i]=a[i-1]+a[i-2]*2-3;
for(i=0;i<10;i++)
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgYVs1MF0saTsvL+WkmuOCgeOBq+imgee0oOOCkueiuuS/nQoJYVswXT0yOyBhWzFdPTY7Cglmb3IoaT0yO2k8MTA7aSsrKQoJCWFbaV09YVtpLTFdK2FbaS0yXSoyLTM7CgkJCglmb3IoaT0wO2k8MTA7aSsrKQoJCXByaW50ZigiJWQgIiwgYVtpXSk7CglwcmludGYoIlxuIik7CgkJCglyZXR1cm4gMDsKfQo=