print$_<3|$_==4?-1:$_&$_-1?"3 $_":"5 ".($_-2)for<>-3