#K49572. Secure Password Checker

    ID: 28672 Type: Default 1000ms 256MiB

Secure Password Checker

Secure Password Checker

You are required to write a program that verifies if a given password is secure according to the criteria defined below. A password is considered secure if and only if it satisfies all the following conditions:

( \bullet ) It contains at least one uppercase letter. ( \bullet ) It contains at least one lowercase letter. ( \bullet ) It contains at least one digit. ( \bullet ) Its length is at least 8 characters. ( \bullet ) It does not contain any spaces.

For example, the password A1b2c3d4 is secure, whereas 12345678 is insecure. Your task is to read the password from the standard input (stdin), evaluate its security, and print the result to the standard output (stdout) as either secure or insecure.

inputFormat

The input consists of a single line containing the password string to be validated. The password may include any printable characters.

outputFormat

Output a single line: print secure if the password meets all the required conditions, otherwise print insecure.## sample

A1b2c3d4
secure