#C14118. Password Strength Validator

    ID: 43732 Type: Default 1000ms 256MiB

Password Strength Validator

Password Strength Validator

In this problem, you are required to check if a given password is strong. A strong password satisfies all of the following conditions:

  • The password must be at least 8 characters long.
  • It must contain both uppercase and lowercase English letters.
  • It must include at least one numerical digit.
  • It must include at least one special character from the set: \( !@#\$%\^&*()\-_=+ \).

Your task is to implement a function that reads a password from standard input and prints True if the password is strong or False otherwise.

All conditions must be verified for the password to be considered strong.

inputFormat

The input consists of a single line containing the password string. The string may include letters, digits, and special symbols.

outputFormat

Output a single line: True if the password is strong according to the criteria, otherwise False.## sample

Str0ng!P@ssw0rd
True