import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); int n = koko.nextInt(); boolean[][] d = new boolean[n][n]; String[] s = new String[n]; int[] game = new int[n]; int[] win = new int[n]; int tgame=0; for(int i=0; i=0; i--){ if(win[i]!=win[i+1]){ rank++; } if(win[i]==point){ System.out.println(rank); break; } } } } }