import java.util.*; class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { //総和の10分の1以下のものを足す int n = sc.nextInt(); int sum = 0; int[] ar = new int[n]; for (int i=0; i