#! /home/shiyanlou/lou-challenge python3 

filename=input('Enter the file name: ')
with open(filename) as file:
    count=0 
    for line in file:
        count+=1
        print(line)
    print('Lines: ',count)

