One test case fails

This is my solution and I cannot find my mistake for one test case fails.

Correct the spelling of UPPERCASE