import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char eye = sc.next().charAt(0); char mouth = sc.next().charAt(0); StringBuilder sb = new StringBuilder(); sb.append("(").append(eye).append(mouth).append(eye).append(")/"); System.out.println(sb); } }