$_=`factor`;print/ 3\b/?3:/2 2\b/?4:/ 2? ?(\d+)/