import java.util.Arrays; import java.util.LinkedList; import java.util.Scanner; public class Main { public static long MOD = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); final String eye = sc.next(); final String mouth = sc.next(); System.out.printf("(%s%s%s)/\n", eye, mouth, eye); } }