#K66432. Password Validator

    ID: 32419 Type: Default 1000ms 256MiB

Password Validator

Password Validator

You are given a string that represents a password. Your task is to check whether the given password is valid based on the following criteria:

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

If the password meets all the criteria, print True; otherwise, print False.

inputFormat

A single line containing the password string.

outputFormat

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

Password123!
True

</p>