#include #include #include using namespace std; int main() { int n; while(cin>>n && n>0) { string s; getline(cin,s); //eat white space. needed for peaceful cin/getline cohabitation int currentSpace=0; //count the column position in the text for(int i=0;i