#include int main(void){ char *a,*b; scanf("%s",a); scanf("%s",b); printf("(%s%s%s)/\n",a,b,a); return 0; }