void read() {
    
	char ch = '0';
	
	while(ch != '}'){
	
	    try{
		ch = (char)System.in.read();
	    }
	    catch(IOException e){
		System.out.println("\nIO Exception!!!\n");
	    }
	
	    if(((ch <= '0') || (ch >= '9')) && (ch != '}') && (ch != 10)){
		result.append(ch);
	    }
	    
	}	
	
    }