#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int N,K; cin >> N >> K; if(K == 0){cout << "-1\n"; return 0;} int now = 0; for(int i=0; i N || K <= 0){ for(int k=0; k