What output does the question wants

As per my understanding it wants the continious numbers but how i am supposed to return 2 numbers. do i need to make an array and return the numbers and if yes then how am i supposed to return -1. do i need to return -1 in array or what ?