14 lines
201 B
Python
14 lines
201 B
Python
#!/usr/bin/env python3
|
|
|
|
file = [int(i.rstrip()) for i in open("input").readlines()]
|
|
|
|
prev = 1000000000000000000
|
|
count = 0
|
|
|
|
for i in file:
|
|
if i > prev:
|
|
count += 1
|
|
prev = i
|
|
|
|
print(count)
|