import java.util.*;

class x_array {
  static long start = System.currentTimeMillis();

  static void timeStamp() {
    System.out.format("time = %.2f\n", (System.currentTimeMillis() - start) * 1e-3);
    start = System.currentTimeMillis();
  }

  public static void main( String[] args ) {
    final int N = (int)1e8;

    int q[] = new int[N];
    int st = 0, end = 0;
    timeStamp();

    for (int i = 0; i < N; i++) {
      q[end++] = i;
      st++;
    }
    timeStamp();

    st = end = 0;
    for (int i = 0; i < N; i++) {
      q[end++] = i;
    }
    for (int i = 0; i < N; i++) {
      st++;
    }
    timeStamp();
  }
}