#include using namespace std; long long motome(long long MOD,long long N){ vector two; while(N>0){ two.push_back(N%2); N=N/2; } int M=two.size(); vector fibMin1(M),fib(M); fibMin1[0]=0; fib[0]=1; for(int i=1;i>N; if(N==0){ cout<<0<