#include using namespace std; int main(){ long long N,p; cin>>N>>p; if(N==1){ cout<<0< a(N); long long ans=1,sum=1; a[1]=1; for(int i=2;i