using System; using System.Collections.Generic; using System.Linq; using System.Numerics; class Program { static void Main() { string s = Console.ReadLine(); Console.WriteLine(s.Substring(1, s.Length - 2)); } }