In this task, positions of two consecutive words have been swapped. You need to output the position of the swaped words. e.g. in the sentence 'Seattle has nice a weather', the word 'a' and 'nice' have been swapped. These words are at 3rd and 4th position respectively. So, the output should be (3, 4). Note that the index of first word is 1.

[EX Q]: two dogs laying down in a on pillow a wooden floor
[EX A]: (7, 8)

[EX Q]: image an of a bench that is set out at the park
[EX A]: (1, 2)

[EX Q]: boat A tied up to the pier next to other boats on a clear day
[EX A]:
(1, 2)