What will be the output of the following program?
public class Offers {
public static void main(String[] args) {
StringBuffer s1 = new StringBuffer(5);
System.out.print(s1.capacity() + " ");
s1.ensureCapacity(8);
System.out.print(s1.capacity() + " ");
s1.ensureCapacity(30);
System.out.print(s1.capacity() + " ");
s1.setLength(s1.length() + 10);
System.out.print(s1.length());
}
}