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 purple team and a team black are playing a game of basketball
[EX A]: (6, 7)

[EX Q]: a old very train engine and a coal car behind it
[EX A]: (2, 3)

[EX Q]: A blue car parked in front of building a near a taller building
[EX A]:
(8, 9)