Show that if $f:\omega_1 \to \mathbb{R}$ is continuous, then there is $a \in \omega_1$ such that if $x\geq a$, then $f(x) = f(a)$.
I'm stuck on this question for a while, although it seems to me that the proof will be related to the fact that $f$ is bounded (I proved this as folows: $f$ is continuous and $w_1$ has the least element of the set of its limit point, say $a$, then $f(a)$ should be the upper bound of $f:\omega_1 \rightarrow \mathbb{R}$. Is this correct?). Can anyone please help on this problem?