#include <iostream>
#include<cstring>
#include<string>
#include<cstdio>
using namespace std;
int main()
{
char c;
int temp=1;
while((c=getchar())!=EOF){ //getchar()妙用
if(c=='"'){
printf("%s",temp?"``":"''");
temp=!temp;
}
else printf("%c",c);
}
return 0;
}