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(),l[]=new int[7]; for(int i=0;i