import java.io.IOException; import java.io.PrintWriter; import java.util.Scanner; public class Main { static Scanner scan = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); static final String C = "CORRECT (maybe)"; static final String W = "WRONG!"; public static void main(String[] args) throws IOException { String names[] = { "digi", "petit", "rabi", "gema", "piyo" }; String reges[] = new String[5]; reges[0] = ".*nyo[ -/:-@\\[-\\`\\{-\\~]{0,3}$"; reges[1] = ".*nyu[ -/:-@\\[-\\`\\{-\\~]{0,3}$"; reges[2] = ".*[a-z0-9A-Z].*"; reges[3] = ".*gema[ -/:-@\\[-\\`\\{-\\~]{0,3}$"; reges[4] = ".*pyo[ -/:-@\\[-\\`\\{-\\~]{0,3}$"; while(scan.hasNextLine()) { String tmp[] = scan.nextLine().split(" ", 2); String name = tmp[0]; String words = tmp[1].toLowerCase(); for(int i=0; i