class zz { public static void main(String[] args) { double[] zil = new double[10000]; double s = 0; for (int i=0; i < 10000; ++i) zil[i] = i+3; for (int j=0; j < 1000; ++j) for (int i=0; i < 10000; ++i) s += zil[i]; System.out.print(s); }}