#D10609. CarrotBreeding
CarrotBreeding
CarrotBreeding
Example
Input
4
Output
4 0 0 1 0 2 0 1 1
inputFormat
Input
4
outputFormat
Output
4 0 0 1 0 2 0 1 1
样例
4
4
0 0
1 0
2 0
1 1
</p>
Example
Input
4
Output
4 0 0 1 0 2 0 1 1
Input
4
Output
4 0 0 1 0 2 0 1 1
4
4
0 0
1 0
2 0
1 1
</p>
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.