#K33722. Strong Password Checker

    ID: 25151 Type: Default 1000ms 256MiB

Strong Password Checker

Strong Password Checker

You are given a list of passwords. A password is considered strong if it satisfies all of the following conditions:

  1. It contains at least one uppercase letter.
  2. It contains at least one lowercase letter.
  3. It contains at least one digit.
  4. It contains at least one special character from the set ({!@#$%^&*()-=+}).

Your task is to count the number of strong passwords in the input list.

inputFormat

The input is read from standard input (stdin). The first line contains an integer (n) representing the number of passwords. The next (n) lines each contain a single password string.

outputFormat

Output to standard output (stdout) a single integer representing the count of strong passwords.## sample

1
HelloWorld123!
1

</p>