#C110. Remove Noise
Remove Noise
Remove Noise
Given a string, remove all occurrences of the noise pattern \(\text{xyz}\) from it. In other words, you need to implement a function that, when given a string \(S\), returns the string \(S\) with every occurrence of the substring "xyz" removed.
Example: If the input is helloxyzworld
, the output should be helloworld
.
inputFormat
The input consists of a single line containing a string \(S\) made up of printable characters.
outputFormat
Output the string after removing all occurrences of the pattern \(\text{xyz}\) from it.
## samplehelloxyzworld
helloworld