begin
ReadSeqIntegerWhile(t -> t <> 0).Incremental
.Where(t -> t > 0).Count.Println
end.
ans = 0
a, b = 1, -1
while b != 0:
a, b = b, int(input().strip())
if a < b and a != -1:
ans += 1
print(ans)
begin
ReadSeqIntegerWhile(t -> t <> 0).Incremental
.Where(t -> t > 0).Count.Println
end.
6 -8 9 -8 -5 7 7 -5 9 2 -8 10 1 -3 2 4 -2 -1 -4 08ans = 0
a, b = 1, -1
while b != 0:
a, b = b, int(input().strip())
if a < b and a != -1:
ans += 1
print(ans)