#include using namespace std ;
int main() {
int n=1;
char c;
while(cin.get(c))
{
if(c=='"')
if(n++%2) cout<<"``"; else cout<<"''"; else cout<<c;
}
}
#include using namespace std ;
using namespace std ;
int main() {
int n=1;
char c;
while(cin.get(c))
{
if(c=='"')
if(n++%2) cout<<"``"; else cout<<"''"; else cout<<c;
}
}