public int readThrough() throws IOException {
        //FILL IN HERE--no for or while loops
    	int letter,last_letter;
    	letter = consume();
    	last_letter = letter;
    	
    	if(letter != -1){
    		
    		String tempChar = ""+ (char)last_letter;
			
    		
	    		last_letter = readThrough();
	   		
	    		if(last_letter == letter){
	    			times = times + 1 ;	    			
	    		}
	    		else{
	    			if(last_letter != -1){
	    				tempChar = ""+ (char)last_letter;
	    				if(tempChar.matches("[a-zA-Z]+")){
	    					System.out.println(times+" x "+(char)last_letter);
	    				}    				
	    			}    			    			
	    		times = 1;
	    		}			
			}
    	
    	return letter;
    	

    }