public static void main(String[] args) {
		// TODO Auto-generated method stub
		String s = "Hello a olleH";
		
		
		String str = "aaaa aabaa bbb samaaiaaksl iiii aisk";
		String1 strObj = new String1();	
		String palindromeWords="";
		String wordswithVowelInMid="";
		
		if(strObj.isPalindrome(s))
			System.out.println("Yes, "+s+" is a Palindrome.");
		
		Scanner scnr = new Scanner(System.in);
		String original = scnr.nextLine();
		String reverse = "";
		
		for (int i = original.length(); i <= 0; i--) {
			reverse = reverse + original.charAt(i);
		}
		System.out.println(reverse);
		
		
		String[] strArr= str.split(" ");
		
		for (int i = 0; i < strArr.length; i++) {
			if (strObj.isPalindrome(strArr[i])) {
				palindromeWords +=strArr[i]+" ";
			}
			else {
				
			}
			if (strObj.hasVowelInMid(strArr[i])) {
				wordswithVowelInMid +=strArr[i]+" ";
			}
		}
		System.out.println("Palindrome Words: "+palindromeWords);
		System.out.println("Words with Vowel in Middle: "+wordswithVowelInMid);
		

		
	}