#include using namespace std; int N; long M,K; int ans[1<<17],tmp[1<<17]; main() { cin>>N>>M>>K; M-=(long)N*(N-1)/2; for(int i=0;i