#include "bits/stdc++.h" #define REP(i,n,N) for(int i=(n); i<(N); i++) #define RREP(i,n,N) for(int i=(N-1); i>=n; i--) #define CK(n,a,b) ((a)<=(n)&&(n)<(b)) #define ALL(v) (v).begin(),(v).end() #define p(s) cout<<(s)<> typedef long long ll; using namespace std; const int inf=1e9+7; int a,b; int ans[4]={0,1,2,3}; int main() { int prev=-1,now; REP(i,0,7){ cout<>a>>b; if(a==4){ return 0; } now=a+b; if(prev>a>>b; if(a==4){ return 0; } now=a+b; if(prev>a>>b; if(a==4){ return 0; } now=a+b; if(prev>a>>b; if(a==4){ return 0; } now=a+b; if(prev>a>>b; if(a==4){ return 0; } }while(next_permutation(ans,ans+4)); return 0; }