#include #define REP(i,n) for(int i=0;i<(int)(n);i++) #define ALL(x) (x).begin(),(x).end() #define LL long long using namespace std; int main(){ int A,B; cin>>A>>B; REP(i,B+1){ REP(j,(i==B ? A+1 : min(5,A+1))){ if(i==0&&j==0)continue; cout<