an edition that can check whether the number input meet the requirement