import java.io.*;

// javac while_goto_break.java

public class while_goto_break
{
public static void main(String args[])throws IOException
{

System.out.println("Client Starts");
//creating object where ss is reference to the class simple server_1
while_serve_break ss = new while_serve_break();
ss.process();

System.out.println("Client ends");
}//end of main
}//end of class
class while_serve_break
{
//constructor
public while_serve_break(){ System.out.println("Server Constructor Starts as an object is created");}
//these are the fileds
private int n1 = 0;
private int n2 = 0;
public String str2="Call Me if you need";
//method starts
//accesor type public
//return type void
//() place holder for parameters
public void process() throws IOException

{
//implementation with code satrs
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
////////////////

String str= "";

//System.out.println("On the top");
try {
System.out.println("---While Loop---");
go_to:
while(( n1 !=9)&&(n2 !=11) )
{
System.out.print("Please enter number: ");
str = br.readLine();
int n3 = Integer.parseInt(str);
n1 = n3;
if(n1>=200)break go_to;
System.out.print("Please enter pin: ");
str= br.readLine();
int n4=Integer.parseInt(str);
n2= n4;
System.out.println("You Entered : " + n1 + n2);

}
}//try
catch(NumberFormatException e) { System.out.println("data was blank");}
///
System.out.println("good day");
}//end of main
}//end of class