프로그램 명: coci_psenica
제한시간: 1 초

Our heroes, Mirko and Slavko, plant Christmas wheat every year on Saint Lucy’s Day. It is well known that stalks of wheat grow at different speeds so, after a certain time, the wheat becomes quite messy. The guys are determined to solve this problem by playing the following game:

For given heights of all stalks of wheat and the assumption that Mirko is the one starting the game, determine the winner of the game and the height of the shortest and longest stalk when the game is finished.

입력

출력

입출력 예

입력

3
3 3 3

출력

Slavko
3 3

입력

4
3 1 2 1

출력

Slavko
1 2

입력

7
2 1 3 3 5 4 1

출력

Slavko
2 3

Clarification of the first example: Mirko can’t make his move because there are no three stalks of different
heights. Therefore, Slavko is the winner.
출처:2013/2014 contest4 2/6

[질/답] [제출 현황] [푼 후(0)]
[ 채 점 ] [홈으로]  [뒤 로]