using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { string N = Console.ReadLine(); string X = Console.ReadLine(); string[] kyoristr = X.Split(' '); int[] kyori = new int[kyoristr.Length]; int min = 1000000000; for (int i = 0; i < kyori.Length; i++) { kyori[i] = int.Parse(kyoristr[i]); } for (int i = 0; i < kyori.Length - 1; i++) { for(int j=i+1;jtemp) { min = temp; } } Console.WriteLine(min); } } }