Problem A
Uppröðun
Languages
en
is

One thing the planning committee has to do is decide what
team should sit in what classroom. There are
Input
The input consists of two lines. On the first line is the
integer
Output
The output should consist of
Explanation of Sample Inputs
In the first sample there is
The second sample is the same as the one explained above.
The third sample has
Scoring
The solution will be tested on differently hard input data and the data is divided into groups as shown in the table below. The solution will then be scored according to how many groups are solved.
Group |
Points |
Constraints |
1 |
20 |
|
2 |
20 |
|
3 |
30 |
|
4 |
30 |
|
Sample Input 1 | Sample Output 1 |
---|---|
1 5 |
***** |
Sample Input 2 | Sample Output 2 |
---|---|
3 8 |
*** *** ** |
Sample Input 3 | Sample Output 3 |
---|---|
5 33 |
******* ******* ****** ******* ****** |
Sample Input 4 | Sample Output 4 |
---|---|
4 8 |
** ** ** ** |