import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); long x= koko.nextLong(); int n= koko.nextInt(); int[] a = new int[n]; long total=0; for(int i=0; i