Problem G
Samlokur
Languages
en
is

Atli is a big fan of sandwiches. The last few years he has
developed a very specific taste in sandwiches. The store Atli
usually goes to to buy sandwiches has closed down for the next
Input
The first line of the input contains two integers
Output
If the sandwiches will last Atli these
Scoring
Group |
Points |
Constraints |
1 |
20 |
|
2 |
20 |
|
3 |
20 |
|
4 |
40 |
No further constraints. |
Sample Input 1 | Sample Output 1 |
---|---|
8 3 4 4 8 7 2 9 1 6 1 2 3 4 5 6 7 8 |
Jebb |
Sample Input 2 | Sample Output 2 |
---|---|
4 2 5 6 7 8 1 1 1 2 |
Neibb |