Which sentence accurately uses the word “infer”?

I am sure my teacher will infer the answers for me.
She was telling a story, but she did not infer anything.
There were a number of hints that helped us infer the answer.
Perhaps, you could give me a clue or infer the solution somehow.

There were a number of hints that helped us infer the answer.