#C6798. Text Sanitization

    ID: 50597 Type: Default 1000ms 256MiB

Text Sanitization

Text Sanitization

This problem requires you to implement a function that processes an input string by removing all non-alphanumeric characters (with the exception of spaces) and converting all letters to lowercase. More formally, given a string \(s\), your task is to produce a string where every character that is not a letter, digit, or space is removed. Afterwards, all uppercase letters should be converted into lowercase. This is useful for text normalization in various coding competitions.

Input Format: A single line containing the input string.

Output Format: A single line containing the processed string.

inputFormat

The input consists of a single line containing a string \(s\) that may include spaces, punctuation, and alphanumeric characters.

outputFormat

Output a single line containing the processed string where all non-alphanumeric characters (except spaces) have been removed and all letters are converted to lowercase.

## sample
Hello, World!! Welcome to the 2021 @Coding Competition. #FunTimes :)
hello world welcome to the 2021 coding competition funtimes