$s=<>;<>;print~~grep{($s-=$_)>1}sort glob<>