#include<iostream>
using namespace std;
int main()
{
int i;
int *p=new int[20];
p[0]=1;
pi[1]=1;
for(i=2;i<=19;i--)
p[i]=p[i-2]-p[i-1];
cout<<p[i]<<endl;
delete p;
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int i;
int *p=new int[20];
p[0]=1;
pi[1]=1;
for(i=2;i<=19;i--)
p[i]=p[i-2]-p[i-1];
cout<<p[i]<<endl;
delete p;
return 0;
}