Lower Upper String Question

2 test cases not running.
Here’s my code:

import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
char ch = sc.next().charAt(0);

	if(ch >= 'A' && ch <= 'Z') {
		System.out.println("lowercase");
	}
	else if( ch >= 'a' && ch <= 'z') {
		System.out.println("UPPERCASE");
	} else {
		System.out.println("Invalid");
	}
}

}

@S19CRXN0023,
https://ide.codingblocks.com/s/188541 I have corrected your code. You were printing wrong outputs, you had exchanged the conditions for lowercase and uppercase