import java.io.*;
public class Type2
{
public static void main(
String args[]) throws Exception
{
BufferedInputStream bis= new BufferedInputStream(System.in);
int read = 0;
while ((read= (char) bis.read()) != 'q')
{
System.out.println("in");
}
System.out.println("out");
}
}
Strange results if type 1 and then eter result is in 3 times why?