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]: A horse a watching man standing in front of a bars doorway
[EX A]: (3, 4)

[EX Q]: Two women ride on horses a cloudy beach
[EX A]: (4, 5)

[EX Q]: A white teddy bear different wearing buttons hanging in a closet
[EX A]:
(5, 6)