#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;}