let $fneq1,3$ be a positive integer. we prove that there exists a numerical semigroup $s$ with embedding dimension three such that $f$ is the frobenius number of $s$. we also show that the same fact holds for affine semigroups in higher dimensional monoids.