import java.math.BigInteger; import java.util.Arrays; import java.util.Scanner; public class Main { void run() { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); String[] a=new String[n]; for (int i=0;i0 && a[p-1]>a[p]) --p; if (p==0) return false; int q=p; while (q+1