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 Input:
cat a sleeps next to a travel bag and clothes

Ex Output:
(1, 2)


Ex Input:
The view of the water and mountain the as sun goes down

Ex Output:
(8, 9)


Ex Input:
Duck leaning forward towards a body of water a from concrete footing

Ex Output:

(9, 10)



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 Input:
cat a sleeps next to a travel bag and clothes

Ex Output:
(1, 2)


Ex Input:
The view of the water and mountain the as sun goes down

Ex Output:
(8, 9)


Ex Input:
Duck leaning forward towards a body of water a from concrete footing

Ex Output:

user
(9, 10)



assistant
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 Input:
cat a sleeps next to a travel bag and clothes

Ex Output:
(1, 2)


Ex Input:
The view of the water and mountain the as sun goes down

Ex Output:
(8, 9)


Ex Input:
Duck leaning forward towards a body of water a from concrete footing

Ex Output:

(9, 10)


