I Hate Ready to Program P1 - It (Doesn't) Begin...

View as PDF

Submit solution


Points: 3
Time limit: 1.0s
Memory limit: 64M

Author:
Problem type

You just started ICS class and you are being introduced to Ready to Program! On your first assignment, you are to create a very simple program. However, to your horror, as you click "run", the console never appears! Confused, you look at your program again. You notice you have N lines in your program. Thinking that RtP is probably not running because you have too many lines in your program, you ask the other S students in your class for the amount of lines they have in their program. You decide to take the average of all the values (not including yours), rounded down, to have a general sense of the limit of the amount of lines RtP can handle before it refuses to run. From your calculations, does your program have too many lines or is RtP being weird again?

NOTE: The original test data was weak, so an extra test case was added and all submissions were rejudged.

Constraints

1 \leq N,S \leq 10^3

1 \leq l_i \leq 10^3

Input Specifications

The first line contains two space-separated integers, N,S.

The next line contains S space-separated integers, l_1,l_2,l_3,...,l_S

Output Specifications

Output Too many lines! if your program has more than or equal to the average number of lines in your class, or RtP moment... otherwise.

Sample Input

3 2
6 8

Sample Output

RtP moment...

Comments

There are no comments at the moment.