Sorry for this pretty dumb question, but I couldn't find any answer to it.
Supposing we have a set $A$ and functions $f,g:A\to A$. Prove that if $f$ isn't surjective then $f \circ g$ isn't surjective.
Basically as I think, In order for a composite function to be surjective' both the functions that are getting composited (In this case functions $f$ and $g$) should be surjective.
Is that right or wrong? And how can I prove that?
EDIT: Question is solved, Check my answer.