import java.util.ArrayList;
import java.util.Collections;
public class Main {
public static void main(String[] args) {
ArrayList arrayList = new ArrayList();
arrayList.add(new Integer("1"));
arrayList.add(new Integer("2"));
arrayList.add(new Integer("3"));
arrayList.add(new Integer("4"));
arrayList.add(new Integer("5"));
Object obj = Collections.min(arrayList);
System.out.println(obj);
}
}