def count_vowels(s):
# Define the vowels in a set for quick lookup
vowels = {'a', 'e', 'i', 'o', 'u'}
# Count vowels using set intersection with the input string
num_vowels = sum(1 for char in s if char.lower() in vowels)
return num_vowels
def main():
# Input string for testing
input_string = "Hello World, How are you?"
# Count vowels in the input string
num_vowels = count_vowels(input_string)
# Print the result
print(f"Number of vowels in the string: {num_vowels}")
if __name__ == "__main__":
main()