For a given string(str) and a character X, write a function to remove all the occurrences of X from the given string and return it.
The input string will remain unchanged if the given character(X) doesn't exist in the input string.
The first line of input contains a string without any leading and trailing spaces.
The second line of input contains a character(X) without any leading and trailing spaces.
The only line of output prints the updated string.
You are not required to print anything explicitly. It has already been taken care of.
0 <= N <= 10^6
Where N is the length of the input string.
Time Limit: 1 second