import java.util.*; import java.math.*; public class pre { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); int member[] = new int[n],sum = 0,deposit = 0; for(int i=0;i