package no137; import java.util.Scanner; public class Main { public static final int MAX = 50000; public static final long MOD = 1234567891; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long m = sc.nextLong(); int[] a = new int[n]; for(int i=0;i 0) { for(int i=0;i