import numpy as np



eval(input())

a = np.array(input().split(), dtype=np.int)



diff = a - np.minimum.accumulate(a)

print(((diff == diff.max()).sum()))



from numpy import *

eval(input())

a=array(input().split(),dtype=int)

d=a-minimum.accumulate(a)

print(((d==d.max()).sum()))
import numpy as np

eval(input())
a = np.array(input().split(), dtype=np.int)
diff = a - np.minimum.accumulate(a)
print(((diff == diff.max()).sum()))

from numpy import *

eval(input())
a = array(input().split(), dtype=int)
d = a - minimum.accumulate(a)
print(((d == d.max()).sum()))

-import numpy as np +from numpy import * -a = np.array(input().split(), dtype=np.int) -diff = a - np.minimum.accumulate(a) -print(((diff == diff.max()).sum())) +a = array(input().split(), dtype=int) +d = a - minimum.accumulate(a) +print(((d == d.max()).sum()))