It's finally August, the month of strings! Every August, programmers come together to sharpen their string manipulation skills. Given a string, perform the following operations:
- Convert the text to all uppercase.
- If the string contains the word AUGUST, output NOU instead.
- Reverse the string.
- Replace all 'A' characters with 'S'.
Input Specification
There will be one line of input, which is the string to process
Output Specification
Output the modified string.
Sample Input 1
iLovEAnimALs
Sample Output 1
SLSMINSEVOLI
Sample Input 2
auGustIsSoCool
Sample Output 2
NOU
Comments
POG
NOU