result = "" part_o = input() part_s = input() result = "(" +part_o + part_s + part_o + ")/" print(result)