what am i missing?? :9

package com.codegym.task.task07.task0721;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/*
Min and max in arrays
*/
public class Solution {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int[] numbers = new int[20];
for(int i=0;i<numbers.length;i++){
numbers[i]=Integer.parseInt(reader.readLine());
}
for(int i=numbers.length;i<0;i--){
for(int j=0;j<i;j++){
if(numbers[j]>numbers[j+1]){
int smaller = numbers[j+1];
int bigger = numbers[j];
numbers[j]=smaller;
numbers[j+1]=bigger;
}
}
}
int maximum = numbers[numbers.length-1];
int minimum = numbers[0];
//write your code here
System.out.print(maximum + " " + minimum);
}
}