Determine whether the following statement is true or fase. If true, provide a proof; if false, provide a counterexample.
If S is a bounded set of real numbers, and S contains sup(S) and inf(S), then S is a closed interval.
If S is a bounded set of real numbers, and S contains sup(S) and inf(S), then S is a closed interval.