Password
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
We call a crypto-password persistent if 5 criteria are satisfied:
Password contains lowercase Latin letters
Password contains uppercase Latin letters
Password contains digits
Password contains symbols: ! " # $ % & ' ( ) * +
The length of the password is not less than 8 symbols
Determine how many crypto stability criteria are satisfied for this password.
Input
One line consists of no more than 100 symbols.
Output
Print the number of crypto stability criteria that satisfies the password.
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #3
Answer #3
Input #4
Answer #4
Submissions 6K
Acceptance rate 35%