#!/usr/bin/python
import sys
if len(sys.argv) < 2:
print(f"usage: {sys.argv[0]} datafile")
exit(1)
i = 0
prev = 0
numlarger = 0
for line in open(sys.argv[1], "r"):
i += 1
if i == 1:
continue
line = int(line)
if line > prev:
numlarger += 1
prev = line
print(f"of {i} lines, {numlarger} are greater")