#33259: 參考看看


yp11151211@yphs.tp.edu.tw (811-43廖翊宏)


#include<bits/stdc++.h>
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;
    }
    return 0;
}