#include#include int a[100001];int comp(const void*a,const void*b){ return *((int *)a)-*((int *)b);}int main(){ int n,m,i; scanf("%d %d",&n,&m); for(i=0;i =m)break; int p=0,q=i-1; while(p <=q) { while(q =q) printf("No Solution\n"); else printf("%d %d",a[p],a[q]); return 0;}