import java.util.*; import java.io.*; public class Main{ public static void main(String[] args){ Main m = new Main(); m.input(); m.solve(); m.out(); } String e,m; public void input(){ Scanner sc = new Scanner(System.in); e = sc.next(); m = sc.next(); sc.close(); } String ans; public void solve(){ ans = "(" + e + m + e + ")/" ; } public void out(){ System.out.println(ans); } }