import java.awt.Frame; import java.net.StandardSocketOptions; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] D = new int[N]; for(int i=0;i0. && D[j]<0) did+=1; for(int j=0;j0){ dp[i+(1<0){ dp[i+(1<