import java.util.Scanner; import java.lang.Math; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int l = sc.nextInt(); int n = sc.nextInt(); int[] A = new int[n]; for(int i=0; ij; k--){ if(A[k] < A[k-1]){ int temp = A[k]; A[k] = A[k-1]; A[k-1] = temp; } } } int ans = 0; while(ans