YTM calculation using TI BAII calculator

how can I calculate cost of debt with YTM approach using TI BAII plus? For CFAI book4 page46 if I enter values as stated, I am getting error5

one of your present value or future value should be negative. Consider that one is an inflow and the other an outflow. once you do that, you will not get the error5.

Thanks!