using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string eye = Console.ReadLine(); if (!Regex.IsMatch(eye, @".") || eye.Length != 1) { Console.WriteLine("Invalid character was included"); return; } string mouth = Console.ReadLine(); if (!Regex.IsMatch(mouth, @".") || mouth.Length != 1) { Console.WriteLine("Invalid character was included"); return; } Output(eye, mouth); } public static void Output(string eye, string mouth) { string face = "(" + eye + mouth + eye + ")/"; Console.WriteLine(face); } } }