#!/bin/python import sys n = int(raw_input().strip()) a = map(int,raw_input().strip().split(' ')) A=sorted(a) arr=[] N=1 S=A[0] c=0 while N