This is the input and output Examples: input output 5 1 go 1 there 5 go-there 7 input output 3 1 1 7 no words 9 input