#C6088. Joyify String

    ID: 49809 Type: Default 1000ms 256MiB

Joyify String

Joyify String

Given a string s, replace specific words in it according to the following rules:

  • Replace every occurrence of happy with joyful.
  • Replace every occurrence of sad with melancholy.
  • Replace every occurrence of excited with thrilled.

Your program should read the input string from stdin and output the modified string to stdout.

Note: The replacement is a direct string substitution and is not case-sensitive (only lower-case words will appear in the input).

inputFormat

The input consists of a single line containing the string s (which may be empty). The string may contain spaces and punctuation.

Input is provided via stdin.

outputFormat

Output the modified string after performing all required replacements. The output should be written to stdout.

## sample
I am very happy and excited today.
I am very joyful and thrilled today.