STNBD P1 - 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


  • -1
    Abawwu  commented on Dec. 29, 2022, 3:52 p.m.

    Wait, why does it say name error when I print "NO"?


  • 2
    BULLET999  commented on Nov. 29, 2017, 3:33 p.m.

  • -3
    MstrPikachu  commented on July 25, 2017, 3:35 p.m.

    Isn't Goku's power level higher?


    • -2
      Olorin007  commented on July 5, 2018, 3:50 a.m. edited

      I think Ren is secretly Goku.


  • -3
    bobhob314  commented on Dec. 22, 2014, 9:20 p.m.

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

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


    • -1
      FatalEagle  commented on Dec. 22, 2014, 9:36 p.m.

      Depends on how you parse it.


  • 1
    12345x3  commented on Dec. 22, 2014, 8:28 p.m.

    She's a boy


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

      But he's a guy.


      • -7
        12345x3  commented on Dec. 23, 2014, 5:43 a.m.

        This comment is hidden due to too much negative feedback. Show it anyway.


        • 0
          Xyene  commented on Dec. 23, 2014, 3:05 p.m.

          Steins;Gate.


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

        DUDE WTF.