text: # include <iostream>
  # include <string>
  # define  ln(A) A.size()
  
  using namespace std;
  
  string s;
  
  int main()
  {
  	cin>>s;
  	
  	int  len=ln(S),l,r;
  	bool t;
  	
  	for (int i=0 ; i<len ; i++)
  	{
  		for (int j=0 ; j<len ; j++)
  		{
  			t=1;
  			while()
  			
  			if(t)
  			{
  				cout<<s.substr(i,i+j);
  			}
  		}
  	}
  	
  	
  	return 0;
  }
  