'''
Created on Sep 12, 2017

@author: Susan
'''
import urllib2

if __name__ == '__main__':
    source = urllib2.urlopen("http://www.cs.duke.edu/csed/data/poe.txt")
    s = source.read()
    words = s.split()
    total = len(s)
    all = len(words)
    
    print "total is", total
    print "all is", all
    print "total > all is", total>all