import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner kb = new Scanner(System.in); int N = kb.nextInt(); int M = kb.nextInt(); int[] numbers = new int[N+1]; int[] sumNumbers = new int[N+1]; StringBuilder sb = new StringBuilder(); for(int i=1; i