CF205A.Little Elephant and Rozdil

普及/提高-

通过率:0%

AC君温馨提醒

该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。

题目描述

The Little Elephant loves Ukraine very much. Most of all he loves town Rozdol (ukr. "Rozdil").

However, Rozdil is dangerous to settle, so the Little Elephant wants to go to some other town. The Little Elephant doesn't like to spend much time on travelling, so for his journey he will choose a town that needs minimum time to travel to. If there are multiple such cities, then the Little Elephant won't go anywhere.

For each town except for Rozdil you know the time needed to travel to this town. Find the town the Little Elephant will go to or print "Still Rozdil", if he stays in Rozdil.

输入格式

The first line contains a single integer nn (1<=n<=105)(1<=n<=10^{5}) — the number of cities. The next line contains nn integers, separated by single spaces: the ii -th integer represents the time needed to go from town Rozdil to the ii -th town. The time values are positive integers, not exceeding 10910^{9} .

You can consider the cities numbered from 11 to nn , inclusive. Rozdil is not among the numbered cities.

输出格式

Print the answer on a single line — the number of the town the Little Elephant will go to. If there are multiple cities with minimum travel time, print "Still Rozdil" (without the quotes).

输入输出样例

  • 输入#1

    2
    7 4
    

    输出#1

    2
    
  • 输入#2

    7
    7 4 47 100 4 9 12
    

    输出#2

    Still Rozdil
    

说明/提示

In the first sample there are only two cities where the Little Elephant can go. The travel time for the first town equals 77 , to the second one — 44 . The town which is closest to Rodzil (the only one) is the second one, so the answer is 22 .

In the second sample the closest cities are cities two and five, the travelling time to both of them equals 44 , so the answer is "Still Rozdil".

首页