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 fire hydrant near a walking path trees near
[EX A]: (8, 9)

[EX Q]: airplane An is flying over a bicycle rider
[EX A]: (1, 2)

[EX Q]: A cat is seen in a mirror as it lays on a bed a near dresser
[EX A]:
(14, 15)