using System.Text.RegularExpressions;
public static void Main()
string input = Console.ReadLine();
string pattern = @"(?<=\().*?(?=\))";
Regex rg = new Regex(pattern);
MatchCollection matchedInput = rg.Matches(input);
Console.WriteLine(matchedInput[0]);