public final FastWriter write(String str) { write(str, 0, str.length());
public final FastWriter write(int c) { int newcount = count + 1; if (newcount > buffer.length) { char newbuf[] = new char[Math.max(buffer.length << 1, newcount)]; System.arraycopy(buffer, 0, newbuf, 0, count); buffer = newbuf; } buffer[count] = (char) c; count = newcount;
    public final FastWriter write(String str) {        write(str, 0, str.length());        return this;    }