public static void main(String args[]) {
		InputStream in = System.in;
		try{
			byte[] cs=new byte[1204];
			System.out.println("ʹbyte");
			while(in.read(cs)!=-1){//read()ҪֽΪ
				String str=new String(cs).trim();
				System.out.println(str);
			}
			in.close();
			
			OutputStream out=System.out;
			cs="ʹoutputStream\n".getBytes();
			out.write(cs);
			String str="ʹַ滮";
			cs=str.getBytes();
			out.write(cs); 
			out.close();
		}catch(IOException e){
			e.printStackTrace();
		}
	}