Hello, World! My name is Viriya
SAYA BABU DARI PAK DENGKLEK DAN PARA BEBEK-BEBEKNYA !
I AM A SERVANT OF MR. DENGKLEK AND HIS DUCKS !
ΙͺΙ΄α΄α΄α΄ κ°α΄Κα΄α΄α΄
A line containing string
$S$
α΄α΄α΄α΄α΄α΄ κ°α΄Κα΄α΄α΄
Total number of letters "A" in the string.
#include <bits/stdc++.h>
#define LOL ios::sync_with_stdio(false);
#define BANGET cin.tie(NULL);
using namespace std;
int main(){
LOL BANGET
string s; cin >> s;
int len = s.length();
int letterA = 0;
for(int i = 0; i < len; i++){
if(s[i] == 'a'){
letterA++;
}
}
cout << letterA <<endl;
}