main=interact$f.words f(_:x)=unwords[z|y<-[-900..99],z<-x,-y==read z]