Given ,
if ,
if .
If your answer is , input -infinity; if your answer is , input infinity.

You can earn partial credit on this problem.