Compiled as WRONG Answer HELP with the code??
what is my error in the code
PROBLEM : EZSPEAK
LINK : EZSPEAK Summary
/* package codechef; // don't place package name! */
import java.util.*;
import java.util.regex.*;
import java.lang.*;
import java.io.*;
import java.util.regex.Pattern;
import java.util.Scanner;
import java.util.regex.Matcher;
/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
try{
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
while(n>=1 || n<=100){
int count = sc.nextInt();
if(count>=1 || count<=100){
String word = sc.next().toString().toLowerCase();
if(count<=4)
{
System.out.println("YES");
}
else
{
String sub = word.substring(0,4);
if(sub.contains("a") || sub.contains("e") || sub.contains("i") || sub.contains("o") || sub.contains("u"))
{
System.out.println("Yes");
}
else
{
System.out.println("No");
}
}
}
}
}
catch(Exception e){
return;
}
}
}