Strong Password#216

Strong Password

1 second
128 megabytes
Very easy (≈850)

A password is considered strong if it meets the following 5 criteria:

  1. The password contains lowercase Latin letters

  2. The password contains uppercase Latin letters

  3. The password contains digits

  4. The password contains the following symbols: ! " # $ % & ' ( ) * +

  5. The length of the password is not less than 8 characters

Determine the number of the above criteria that the given password satisfies.

Input

A password not exceeding 100 characters is provided on a single line.

Output

Print the number of criteria satisfied by the given password.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading

Example 4

Loading
Loading