// Force a stream to upper case
import java.io.*;

public class UCWriter extends FilterWriter {
    public UCWriter(Writer out) {
      super(out);
    }
    public  void write(int c) throws IOException {
      super.write(Character.toUpperCase((char)c));
    }
    public void write(char[] cbuf,int off,int len) throws IOException {
       while (len--!=0) {
       write((int)cbuf[off++]);
       }
    }
    public void write(String str,int off,int len) throws IOException {
            while (len--!=0) {
                write((int)str.charAt(off++));
            }
    }
    public static void main(String args[]) {
       PrintWriter console = new PrintWriter(new 
               UCWriter(new 
                  OutputStreamWriter(System.out)));
        console.println("hello there web techniques!");
        console.flush();
    }
}
