import java.util.Scanner; public class Sushi { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int[] sushi = new int[1000]; for(int i=0;i