output_description: If Takahashi's submission gets an AC, print `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N M
attempt: inp1 = input().split()
  inp2 = input().split()
  a = int(inp1[0])
  b = inp2
  b = [int(s) for s in inp2]
  ansno = a
  maxno = b[0]
  
  ii = 0
  for i in b:
      if ii == 0:
          ii += 1
          continue
      bslice = b[: ii + 1]
      #  print(ii)
      #  print(bslice)
      if min(bslice) != i:
          #    print("min(bslice)",min(bslice)," i ",i)
          ansno -= 1
      ii += 1
  #  print("ansno: ",ansno)
  print(ansno)
  
problem_description: Statement
  
  Takahashi is participating in a programming contest, AXC001. He has just
  submitted his code to Problem A.  
  The problem has N test cases, all of which must be passed to get an AC
  verdict.  
  Takahashi's submission has passed M cases out of the N test cases.  
  Determine whether Takahashi's submission gets an AC.
samples: [{"input": "3 3", "output": "Yes\n    \n\nAll three test cases have been passed, so his submission gets an AC.\n\n* * *"}, {"input": "3 2", "output": "No\n    \n\nOnly two out of the three test cases have been passed, so his submission does\nnot get an AC.\n\n* * *"}, {"input": "1 1", "output": "Yes"}]