Let (fn) be a sequence of functions from R to R, not necessarily continuous. Suppose that for all sequences (xn) such that (xn)-->x as n--> inf, we have:

(fn(xn)) --> f(x) as n-->inf and (xn)-->x

Prove that f is continuous.

PS: No specific metric is identified