#include<iostream> #include<cstring> #include<algorithm> using namespace std; int main(){ char c; bool p=true; while((c=getchar())!=EOF){ if(c=='"'){ printf("%s",p?"``":"''"); p=!p; }else printf("%c",c); } }