Write an program which takes a very long sentence as input. The program splits the long sentence into smaller lines such that each line should be less than or equal to 200 characters. Each line should also contain line information at the end( The limit of 200 character is inclusive of this limit). It should not break words into pieces. If a word does not fit in 200 character line it should go to the next line.
example : Input : "This is a word wrap question with dynamic line information and I am confused how to solve..."
Output :
Test case 1:
["This is a word wrap (1/4)"
"question with dynamic (2/4)"
"page information and I (3/4)"
"am confused .... (4/4)"]"This is a word wrap (1/4)" is 200 character string
Test case 2 :
["This is a word wrap (1/15)"
"question with dynamic (2/15)"
.....
"page information and I (10/15)"
"am confused .... (11/15)]"
...