문제
A lengthy drought has left Farmer John's
In Farmer John's shed, he has four buckets, each with a different type of grass seed. He wishes to sow each pasture with one of these types of seeds. Being a dairy farmer, Farmer John wants to make sure each of his cows has a varied diet. Each of his
Please help Farmer John choose a grass type for each pasture so that the nutritional needs of all cows are satisfied.
Problem credits: Dhruv Rohatgi
입력
The first line of input contains
출력
Output an
예제1
5 6
4 1
4 2
4 3
2 5
1 2
1 5
12133