#include <stdio.h>
int
main(){
int
i;
for
(i = 0; i < 8;i++)
printf
(
"%d%d%d\n"
,i/4%2, i/2%2, i%2);
return
0;
}
#include<bits/stdc++.h>
using
namespace
std;
int
main(){
cout<<
"000"
<<endl;
cout<<
"001"
<<endl;
cout<<
"010"
<<endl;
cout<<
"100"
<<endl;
cout<<
"101"
<<endl;
cout<<
"110"
<<endl;
cout<<
"111"
<<endl;
return
0;
}