A link to the problem would help here. You’ll also want to preserve the indentation by editing you post and putting three back ticks ``` on a line by themselves both before and after the code.
What does the input look like? Are there two integers on the same line?