#C235. Normalize Flight Code
Normalize Flight Code
Normalize Flight Code
You are given a flight code as a string. Your task is to normalize the flight code by removing any non-alphanumeric characters and converting all alphabetic characters to uppercase. In mathematical terms, if \( S \) is the input string, then the output should be \( \text{normalize}(S) = \text{Uppercase}(\{c \in S \mid c \text{ is alphanumeric}\}) \).
inputFormat
The input consists of a single line from standard input containing a string that represents the flight code. The string may include spaces, special characters, and a mix of letters and digits.
outputFormat
Output the normalized flight code to standard output. The output should have all letters in uppercase and only include alphanumeric characters.
## sample aaBB123
AABB123