import java.util.*;
class Biggest {
public static void main(String args[]) {
//Sorting Integer in natural order
int n[] = {40,20,99,65,74};
Arrays.sort(n);
System.out.println("Sorted list of Integer");
for(int i:n) {
System.out.println(i);
}
int l=n.length;
int biggestNumber = n[l-1];
System.out.println("Biggest number="+biggestNumber);
}
}