Using casio fx-115es, You need to set your calculator to "Complex" Mode first
Then you can literally put in those numbers in at once.
Its hard to explain on hete, It's on page E-25 of the fx-115 es plus manual. It would save you tons of time if you know how to use those functions.