H4x0r
Time limit10sMemory limit1024 MB
Replaces the letters a, e, i, o, and s in a lowercase string with the digits 4, 3, 1, 0, and 5 and prints the result.
- Level
Easy1 of 10
- Topics
- Implementation, String
- Solved
- No attempts yet
Problem
It has long been known that hackers have their own language and use abbreviations and other forms of obfuscation to cover their tracks. The best of them are usually called "h4x0rs".
Some hackers replace certain letters with digits to make their text look more professional. Every occurrence of a letter in the table below is replaced with its corresponding digit. Other characters stay unchanged.
Write a program that reads a string, converts it to hacker slang according to the table above, and prints the result to standard output.
Input
The only line of input contains a non-empty string of lowercase English letters, the string to be converted to hacker slang. The length of the string does not exceed 1,000,000 characters.
Output
The only line of output should contain the input string written as hacker slang.