#K12976. Password Validator
Password Validator
Password Validator
In this problem, you are required to implement a password validator. The password must satisfy the following criteria:
(\bullet) It must be at least 8 characters long. (\bullet) It must contain at least one uppercase letter. (\bullet) It must contain at least one lowercase letter. (\bullet) It must contain at least one numeral (0-9). (\bullet) It must contain at least one special character from the set: !@#$%^&*(),.?":{}|<>
You need to read a single line from standard input that represents the password string and output either true
if it meets all criteria or false
otherwise.
inputFormat
The input consists of a single line containing the password string.
outputFormat
Output a single line: true
if the password satisfies all the conditions, or false
otherwise.## sample
Aa1!aaaa
true