# Use the file name mbox-short.txt as the file name

count = 0  ###use to find the average
total = 0

try:
    fname = raw_input("Enter file name: ")
    fh = open(fname)
    
    for line in fh:
        if not line.startswith("X-DSPAM-Confidence:") : continue #looks for these lines
        print line

        ###find the position of the number
        
        ###retrive the number
        
        #number = float(?????????????])
        
        #print number
        
                
except:
    print "Error"
    
    
