#ZJ002. [ZJ-002] 小 A 喜欢字母 A
[ZJ-002] 小 A 喜欢字母 A
Background
Little A loves the letter A. He wants to know how many times the letter A appears in a message sent by his friend (counting both uppercase and lowercase).
Description
Write a program that inputs a string containing spaces and outputs the number of times the letter A appears (counting both uppercase and lowercase).
Input
A single line containing the string with spaces.
Output
Output the count of the letter A (case-insensitive) in the string .
How are you today?
2
Hello, Little A! The weather's great, let's go to the park and play badminton.
7
Constraints
For of the data, the string contains only lowercase letters.
For of the data, (the length of is at most ).