#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define popcount __builtin_popcount using namespace std; typedef long long int ll; typedef pair P; int main() { //1100 //11101000 3->8 //11100 //yukiko int n, k; cin>>n>>k; if(k==1){ if(n==1) cout<<"1"<4) cout<<-1<8) cout<<-1<