300848: CF162D. Remove digits
Memory Limit:256 MB
Time Limit:3 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
D. Remove digitstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output
You are given a string. Remove all digits from it. When a character is removed from a string, all characters to the right of it are shifted one position to the left.
InputThe only line of input contains a string between 1 and 100 characters long. Each character of the string has ASCII-code between 33 (exclamation mark) and 126 (tilde), inclusive.
OutputOutput the given string with all digits removed from it. If the original string had only digits, output an empty string.
ExamplesInputVK-Cup-2012!Output
VK-Cup-!Input
Go,Codeforces!Output
Go,Codeforces!