public class ExceptionTest0 {
  public static void main(String[] args) {
    
    int[] a = {5, 1, 0};
    int b = 0;
    for(int i =0; i <= 3; i++) 
      
        b = middleMethod(a,i);
      
  }

  public static int middleMethod(int[] a, int i) {
    return lowMethod(a, i);
  }

  public static int lowMethod(int[] a, int i) {
    return 15/a[i];
  }

}
