printf grep$N%$_<1,3..1e6,($N=<>)/2,$N