import java.util.Scanner; public class Main{ static final Scanner s=new Scanner(System.in); public static void main(String args[]){ int n=s.nextInt(), in[]=new int[n], res=0; for(int i=0; ic&&r>c)); } }