#K59792. Counting the Letter 'a'

    ID: 30943 Type: Default 1000ms 256MiB

Counting the Letter 'a'

Counting the Letter 'a'

Given a string, your task is to count the number of occurrences of the lowercase letter \(a\) in the string.

The string is provided via standard input. You should output a single integer representing the count of \(a\) in the input string.

For example, if the input is "apple", the output should be 1, and if the input is "banana", the output should be 3.

inputFormat

The input consists of a single line containing a non-empty string.

outputFormat

Output a single integer which is the frequency of the lowercase letter \(a\) in the input string.

## sample
apple
1