import java.util.Scanner; class Solution { public static void main(String args[]){ Scanner sc=new Scanner(System.in); int o=0,t=0,th=0,f=0,fi=0; int n=sc.nextInt(); if(n<5||n>200000) System.exit(0); for(int i=0;i=t&&o>=th&&o>=f&&o>=fi) System.out.println("1"); else if(t>=o&&t>=th&&t>=f&&t>=fi) System.out.println("2"); else if(th>=o&&th>=t&&th>=f&&th>=fi) System.out.println("3"); else if(f>=o&&f>=t&&f>=th&&f>=fi) System.out.println("4"); else if(fi>=o&&fi>=t&&fi>=th&&fi>=f) System.out.println("5"); sc.close(); } }