#include #include #include #include #include #include #include int main(){ int n; scanf("%d",&n); int *a = malloc(sizeof(int) * n); for(int calories_i = 0; calories_i < n; calories_i++){ scanf("%d",&a[calories_i]); } for(int i=0;i