#include <cstdio>
#include <string>
#include <algorithm>
#include <iostream>
using namespace std;
int main( )
{
string stemp= "" ,sparent= "" ;
string first = "``" , second = "''" ,last= "\n " ;
int count = 1 ;
while ( getline( cin ,stemp) )
//for (int i=0; i<4; i++)
{
//getline(cin,stemp);
for ( size_t i= 0 ; i< stemp.length ( ) ; i++ )
{
if ( ( stemp[ i] == '"' ) && ( count == 1 ) )
{ sparent.append ( first) ; count= 2 ; }
else if ( ( stemp[ i] == '"' ) && ( count == 2 ) ) { sparent.append ( second) ; count= 1 ; }
else { sparent.append ( stemp,i,1 ) ; }
}
//sparent.append(last);
cout << sparent<< "\n " ;
sparent = "" ;
}
//cout<<sparent<<"\n";
return 0 ;
}
I2luY2x1ZGUgPGNzdGRpbz4KI2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpCnsKICAgIHN0cmluZyBzdGVtcD0iIixzcGFyZW50PSIiOwogICAgc3RyaW5nIGZpcnN0ID0gImBgIiwgc2Vjb25kID0gIicnIixsYXN0PSJcbiI7CiAgICBpbnQgY291bnQgPSAxOwogICAgd2hpbGUoZ2V0bGluZShjaW4sc3RlbXApKQogICAgLy9mb3IgKGludCBpPTA7IGk8NDsgaSsrKQogICAgewogICAgICAgIC8vZ2V0bGluZShjaW4sc3RlbXApOwogICAgICAgIGZvciAoc2l6ZV90IGk9MDsgaTxzdGVtcC5sZW5ndGgoKTsgaSsrKQogICAgICAgIHsKICAgICAgICAgICAgaWYgKChzdGVtcFtpXT09JyInKSYmKGNvdW50ID09IDEpKQogICAgICAgICAgICB7c3BhcmVudC5hcHBlbmQoZmlyc3QpOyBjb3VudD0yO30KCiAgICAgICAgICAgIGVsc2UgaWYoKHN0ZW1wW2ldPT0nIicpJiYoY291bnQgPT0gMikpe3NwYXJlbnQuYXBwZW5kKHNlY29uZCk7IGNvdW50PTE7fQoKICAgICAgICAgICAgZWxzZSB7c3BhcmVudC5hcHBlbmQoc3RlbXAsaSwxKTt9CiAgICAgICAgfQogICAgICAgIC8vc3BhcmVudC5hcHBlbmQobGFzdCk7CiAgICAgICAgY291dDw8c3BhcmVudDw8IlxuIjsKICAgICAgICBzcGFyZW50ID0gIiI7CiAgICB9CiAgICAvL2NvdXQ8PHNwYXJlbnQ8PCJcbiI7CiAgICByZXR1cm4gMDsKfQo=
stdin
JnF1b3Q7VG8gYmUgb3Igbm90IHRvIGJlLCZxdW90OyBxdW90aCB0aGUgQmFyZCwgJnF1b3Q7dGhhdAppcyB0aGUgcXVlc3Rpb24mcXVvdDsuClRoZSBwcm9ncmFtbWluZyBjb250ZXN0YW50IHJlcGxpZWQ6ICZxdW90O0kgbXVzdCBkaXNhZ3JlZS4KVG8gYEMnIG9yIG5vdCB0byBgQycsIHRoYXQgaXMgVGhlIFF1ZXN0aW9uISZxdW90Ow==
"To be or not to be," quoth the Bard, "that
is the question".
The programming contestant replied: "I must disagree.
To `C' or not to `C', that is The Question!"