Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Better Passwords

Limits 1s, 512 MB

Byang is creating an account on Toph. He needs your help to create a strong password.

Byang will give you a word, and you will need to make the following changes to the word to make it a stronger password:

  • Make the first character an uppercase
  • Replace all s with $
  • Replace all i with !
  • Replace all o with ()
  • Append a . (period) at the end of the password

Input

The input will contain a string AA (0<Length of A<160 < \texttt{Length of A} < 16). AA will contain lowercase alphabets only.

Output

Print the better password after applying all the necessary changes to the original word AA.

Sample

InputOutput
unsophisticated
Un$()ph!$t!cated.

Discussion

Statistics


94% Solution Ratio

rezaulhsagarEarliest, Jan '19

rezaulhsagarFastest, 0.0s

ReduancsLightest, 0 B

saitotaShortest, 39B

Submit

Login to submit

Toph uses cookies. By continuing you agree to our Cookie Policy.