text: #include "std_lib_facilities.h"
  
  int main(){
  
  	string previous = "";
  	string current = "";
  
  	while(cin >> current){
  
  		cout << current << endl;
  		if( previous == current )
  			cout << "Repeated word: " << current << endl;
  		previous = current;
  	}
  
  	return 0;
  }