#K2146. Decrypt the Encrypted String
Decrypt the Encrypted String
Decrypt the Encrypted String
You are given an encrypted string that contains lowercase alphabetical characters along with some special separator characters. The special characters are defined as ( { '#', '$', '&', '@', '!' \} \). Your task is to remove these separators from the string while maintaining the order of the remaining characters. The decrypted string should only contain the original alphabetical characters. For example, given the input a#b$c@d&e!f
, the output should be abcdef
.
inputFormat
The input consists of a single line containing the encrypted string. The string may include lowercase letters and the following special characters: #, $, &, @, !.
outputFormat
Output the decrypted string with all the special separator characters removed.## sample
a#b$c@d&e!f
abcdef
</p>