Пишет не найти описание класса Arraylist
package com.javarush.task.task04.task0420;
/*
Сортировка трех чисел
*/
import java.util.ArrayList;
import java.util.Collections;
import java.util.Collection;
import java.util.Arrays;
import java.util.List;
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//напишите тут ваш код
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int n1 = Integer.parseInt(reader.readLine());
int n2 = Integer.parseInt(reader.readLine());
int n3 = Integer.parseInt(reader.readLine());
Arraylist<Integer> Myarray = new ArrayList<>(Arrays.asList(n1,n2,n3));
Collections.sort(Myarray);
Collections.reverse(Myarray);
for(Object o: Myarray){
System.out.println(o+" ");
}
}
}