<jupyter_start><jupyter_text>solutions Provided by instructor<jupyter_code>"""

@author: Descentis
"""


s = input()
d={"UPPER CASE":0, "LOWER CASE":0}
for c in s:
    if c.isupper():
        d["UPPER CASE"]+=1
    elif c.islower():
        d["LOWER CASE"]+=1
    else:
        pass
print(d['UPPER CASE'],d['LOWER CASE'])<jupyter_output>Hello world!
1 9
{'fraction_non_alphanumeric': 0.17847025495750707, 'fraction_numerical': 0.0169971671388102, 'mean_word_length': 3.72, 'pattern_counts': {'":': 2, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '607241', 'license': 'MIT', 'n_tokens_mistral': 150, 'n_tokens_neox': 144, 'n_words': 32, 'path': 'Week_12_Programming_Assignments/3_Letters.ipynb', 'repo_name': 'SriVinayA/JoyOfComputing_using_Python', 'size': '353'}