#include #include using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 10000000000000001 int main(){ int N,K; cin>>N>>K; if((N+1)/2 <= K){ string ans(N,'1'); rep(i,K)ans[i] = '0'; cout<4){ string t(K,'1'); s = t+s; char c = s.back(); if(c=='0')c = '1'; else c = '0'; rep(i,K){ s += c; } } if(s.size()