Ren Ashbell

View as PDF

Submit solution

Points: 3 (partial)
Time limit: 1.0s
Memory limit: 256M

Author:
Problem type

Ren Ashbell is often called the Strongest Blade Dancer. You have doubts that this is not actually true. Given the power level of N people, determine whether Ren Ashbell is the strongest (her power level is strictly greater than the power levels of all other people).

Input Specification

The first line of input will have N.

The next N lines of input will each have the power level of a person, a positive integer no more than 10\,000. The first of these lines will be Ren Ashbell's power level.

Output Specification

The first and only line of output should be YES if Ren Ashbell is the strongest or NO if Ren Ashbell is not the strongest.

Constraints

2 \le N \le 10

Sample Input

3
9001
8888
1324

Sample Output

YES

Comments


  • 3
    BULLET999  commented on Nov. 29, 2017, 10:33 a.m.

  • 1
    MstrPikachu  commented on July 25, 2017, 11:35 a.m.

    Isn't Goku's power level higher?


    • 0
      Olorin007  commented on July 4, 2018, 11:50 p.m. edited

      I think Ren is secretly Goku.


  • 2
    bobhob314  commented on Dec. 22, 2014, 4:20 p.m.
    Syntax

    "You have doubts that this is not actually true."

    This equates to "You think this is true." ;)


    • 3
      FatalEagle  commented on Dec. 22, 2014, 4:36 p.m.

      Depends on how you parse it.


  • 3
    12345x3  commented on Dec. 22, 2014, 3:28 p.m.
    Don't be misled

    She's a boy


    • 3
      Xyene  commented on Dec. 22, 2014, 4:04 p.m.

      But he's a guy.

      • -2
        12345x3  commented on Dec. 23, 2014, 12:43 a.m.

        SERIOUSLY?!?! WHERE'S THAT FROM


        • 0
          Xyene  commented on Dec. 23, 2014, 10:05 a.m.

          Steins;Gate.


      • 6
        quantum  commented on Dec. 22, 2014, 4:07 p.m.

        DUDE WTF.