import java.util.*; import java.lang.*; public class N591{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str[] = new String[2]; str[0] = sc.next(); str[1] = sc.next(); System.out.println("("+str[0]+str[1]+str[0]+")/"); } }