#K93022. Valid Username Checker
Valid Username Checker
Valid Username Checker
You are given a username string. Your task is to validate the username based on the following criteria:
- The length of the username must satisfy \(5 \leq |username| \leq 15\).
- The username can contain only lowercase English letters (
a
toz
). - The username must contain at least one vowel (
a
,e
,i
,o
, oru
).
If the username meets all the criteria, output Valid
; otherwise, output Invalid
.
Note: All formulas are in LaTeX format. For example, the length constraint is given by \(5 \leq |username| \leq 15\).
inputFormat
The input consists of a single line containing the username (a string).
For example:
johnsmith
outputFormat
Output a single line: Valid
if the username meets all the criteria; otherwise, Invalid
.
For example:
Valid## sample
johnsmith
Valid