For those who are socially awkward, talking to others is a harrowing task. Did you say too much? Too little?
It is this last one that you have become increasingly worried about. Going through your conversations, you record each message as either sent by you (S
), or received by you (R
).
You believe that you are spamming if you have sent at least
Constraints
Additionally, the total number of messages sent will not exceed
Input Specification
The first line of input will contain a single string, composed of either S
or R
.
The second and final line of input will contain a single integer,
Output Specification
Output Spamming
if you have sent at least All good
otherwise.
Sample Input 1
SSRS
3
Sample Output 1
All good
Sample Input 2
SSSSSRSSS
4
Sample Output 2
Spamming
Comments