def containsGAGA(input_string: str) -> str:
"""Check if the input string contains the substring GAGA."""
if "GAGA" in input_string:
return "yes"
else:
return "no"
# test the function with sample inputs
test_input1 = "HELLO GAGA WORLD"
test_input2 = "programming theory"
test_input3 = "AGAGAGAGA patterns"
print(f"Testing '{test_input1}': {containsGAGA(test_input1)}")
print(f"Testing '{test_input2}': {containsGAGA(test_input2)}")
print(f"Testing '{test_input3}': {containsGAGA(test_input3)}")
Testing 'HELLO GAGA WORLD': yes
Testing 'programming theory': no
Testing 'AGAGAGAGA patterns': yes