#K12601. More A than B?
More A than B?
More A than B?
Given a string s, determine whether the number of a
characters is greater than the number of b
characters. In other words, check if \(\#a > \#b\). If this condition is met, output Yes
; otherwise, output No
. The input string will consist solely of lowercase letters.
inputFormat
The input consists of a single line containing the non-empty string s.
outputFormat
Output a single line: Yes
if the count of a
is strictly greater than the count of b
, otherwise output No
.
aab
Yes
</p>