Changing Strings

아직 제출이 없습니다시간 제한1초메모리 제한1024 MB

문제

We love our UCF and we are going to change everything to UCF!

Given a string, change the string to UCF as follows:

  • Characters before the leftmost “U” in the string are changed to hyphen (“-”).
  • Characters after the rightmost “F” in the string are changed to hyphen.
  • Characters between the leftmost U and the rightmost F are changed to “C”.

Assume the string will contain at least one “U”, at least one “F” after that U, and at least one character between the U and F.

입력

There is only one input line; it contains a string of uppercase letters. The string will have at least 3 and at most 50 characters.

출력

Print the input string converted to UCF.