#!/bin/python3 import sys n = int(input().strip()) calories = list(map(int, input().strip().split(' '))) # your code goes here calories = sorted(calories,reverse=True) mile = 0 eaten=0 while eaten