#P11019. Super Emoji Shortcut
Super Emoji Shortcut
Super Emoji Shortcut
Your QQ just received a new message! However, you are upset because you cannot see the super emoji sent by others.
The message is a string \(S\) that contains exactly one super emoji. In detail, the pinyin representation of the emoji is written in camel-case, so \(S\) is in the form:
[AaaBbbCcc... ]QingShiYongZuiXinBanShouJiQQTiYanXinGongNeng
In other words, in the original message [w]请使用最新版手机QQ体验新功能
, each Chinese character in the emoji \(w\) is replaced by its pinyin. It is guaranteed that \(w\) contains at least one syllable, and each syllable consists of an uppercase letter followed by at least one lowercase letter.
You want to send this emoji from your computer. To do that, you need to type a forward slash (/
) followed by its "pinyin shorthand." Specifically, the pinyin shorthand for emoji \(w\) is defined as the concatenation of the lowercase first letters of each of its syllables. For example, the shorthand for TaiYang
is /ty
and for YueLiang
is /yl
.
Your task is to output the string that represents sending this emoji on a computer.
Note: Although the resulting string might not actually produce the emoji in QQ (e.g. NiZhenBangBang
cannot be sent as /nzbb
), for this problem, such cases are considered valid.
inputFormat
The input is a single line string \(S\) representing the message. \(S\) is formatted as follows:
[EmojiPinyin]QingShiYongZuiXinBanShouJiQQTiYanXinGongNeng
Here, EmojiPinyin
is the emoji's name in camel-case pinyin (consisting of one or more syllables where each syllable starts with an uppercase letter followed by lowercase letters).
outputFormat
Output a single line containing the computer input string for sending the emoji. This string starts with a forward slash (/
) followed by the pinyin shorthand of the emoji. The pinyin shorthand is obtained by concatenating the lowercase first letters of each syllable in the emoji name.
For example, if the emoji name is TaiYang
, output /ty
.
sample
[TaiYang]QingShiYongZuiXinBanShouJiQQTiYanXinGongNeng
/ty