using System; using System.Collections.Generic; using System.Text; using System.Linq; class Program { public void Proc() { Reader.IsDebug = false; int itemCont = int.Parse(Reader.ReadLine()); string[] inpt = Reader.ReadLine().Split(' '); Dictionary dic = new Dictionary(); long[] numList = new long[inpt.Length]; for(int i=0; ia.Value >= 2).Max(a=>a.Key); bool isBegen = false; long[] ans = new long[inpt.Length]; for(int i=0; i