Task: Program Execution
Input (English): Sentence: 'an old photo of a car parked on the beach with a flag flying'. Count the number of consonants in the given sentence.
Output (English): 30