Accept upper limit as either sys.argv[1] or raw_input().