using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace Paiza { static class Problem { static void Main (string[] args) { int N = int.Parse(Console.ReadLine()); string S = Console.ReadLine(); Console.WriteLine(string.Join("", S.Take(S.Length - 1).Skip(1).ToArray())); } } }