Let $f$ be a function from $\mathbb R$ to $[0,1]$. Prove that if $(u_n)$ is a sequence of non-negative real numbers, then there exists a subsequence $(u_{n_k})_{k\in\mathbb N}$ such that $(f(u_{n_k}))_{k\in\mathbb N}$ converges to a real number in $[0,1]$.
I'm not really sure how to go about starting this question. I wanted to first prove that Un is bounded above, then use the Bolzano-WeierstaB theorem to state that there has to exist a subsequence of Un which converges to R, and since the specific part of R [0,1] has already been defined, f(Unk) had to be in [0,1], but this sounds terrible and I'm very lost. Any help appreciated, thanks.