Time limit: 2.0s
Memory limit: 64M
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'.
There will be one line of input, which is the string to process
Output the modified string.
Sample Input 1
Sample Output 1
Sample Input 2
Sample Output 2