import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.stream.IntStream; class Main{ static class System{ private static final InputStream in=java.lang.System.in; private static final PrintWriter out=new PrintWriter(java.lang.System.out,false); } public static void main(String[]$) throws IOException{ new Main().solve(); System.out.flush(); } static FastScanner s=new FastScanner(System.in); static IntStream REPS(int v){return IntStream.range(0,v);} static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);} static int gInt() throws IOException{return s.nextInt();} static long gLong() throws IOException{return s.nextLong();} static long gDouble() throws IOException{return s.nextLong();} private void solve() throws IOException{ String a=s.next(),b=s.next(); System.out.println("("+a+b+a+")/"); } private static class FastScanner{ private final BufferedInputStream in; private static final int bufSize =1<<16; private final byte buf[] =new byte[bufSize]; private int i =bufSize; private int k =bufSize; private final StringBuilder str =new StringBuilder(); FastScanner(InputStream in){ this.in=new BufferedInputStream(in,bufSize); } int nextInt() throws IOException{ return (int)nextLong(); } long nextLong() throws IOException{ int c; long x=0; boolean sign=true; while((c=nextChar())<=32) ; if(c=='-'){ sign=false; c=nextChar(); } if(c=='+'){ c=nextChar(); } while(c>='0'){ x=x*10+(c-'0'); c=nextChar(); } return sign?x:-x; } int nextChar() throws IOException{ if(i==k){ k=in.read(buf,0,bufSize); i=0; } return i>=k?-1:buf[i++]; } String next() throws IOException{ int c; str.setLength(0); while((c=nextChar())<=32&&c!=-1) ; if(c==-1){ return null; } while(c>32){ str.append((char)c); c=nextChar(); } return str.toString(); } String nextLine() throws IOException{ int c; str.setLength(0); while((c=nextChar())<=32&&c!=-1) ; if(c==-1){ return null; } while(c!='\n'){ str.append((char)c); c=nextChar(); } return str.toString(); } } }