import org.jccf.collection.ArrayList;
public class Main {
public static void main(String[] args) {
ArrayList<Integer> list = new ArrayList<>();
list.add(1);
list.add(2);
list.add(3);
int element = list.get(0);
System.out.println("Element at index 0: " + element);
list.set(0, 10);
element = list.get(0);
System.out.println("Modified element at index 0: " + element);
list.remove(1);
int size = list.size();
System.out.println("Size of list after removal: " + size);
}
}