Thank you in advance

package com.codegym.task.task06.task0622;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.TreeSet;
/*
Ascending numbers
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
TreeSet<Integer> numbers = new TreeSet<Integer>();
numbers.add(Integer.parseInt(reader.readLine()));
numbers.add(Integer.parseInt(reader.readLine()));
numbers.add(Integer.parseInt(reader.readLine()));
numbers.add(Integer.parseInt(reader.readLine()));
numbers.add(Integer.parseInt(reader.readLine()));
for (int i : numbers){
System.out.println(i);
}
}
}

5numbers.