Bugs.java
import java.util.Scanner;
public class Main {
/**
* @param args the command line arguments
*/
public static void main
(String[] args
) {
Scanner sc
= new Scanner
(System.
in);
int j;
while(sc.hasNext()){
int i = sc.nextInt();
hledame = sc.next();
for(j=0;j<i+1;j++){
radek = sc.nextLine();
while(radek.indexOf(hledame)>-1){
radek = radek.replaceAll(hledame,"");
}
}
}
}
}