private int process(String input) {
		boolean isMirrored = true;
		boolean isPalindrome = true;
		StringBuffer aux = new StringBuffer(input);
		aux.reverse();
		String reverse = aux.toString();
		int i = 0;
		int tam = input.length();
		while ( (i <= tam / 2) && (isPalindrome || isMirrored)) {
			char iChar = input.charAt(i);
			char rChar = reverse.charAt(i);
			if ( iChar != rChar ) {
				isPalindrome = false;
			}
			if ( iChar != mirror(rChar) ) {
				isMirrored = false;
			}
			i++;
		}
		if ( isPalindrome && isMirrored ) {
			return MIRROREDPALINDROME;
		} else {
			if ( isPalindrome ) {
				return PALINDROME;
			} else if ( isMirrored ) {
				return MIRRORED;
			} else {
				return NOTHING;
			}
		}
	}