Problem Description

Given a password string, print STRONG if it has at least 8 chars and contains at least one lowercase, uppercase, digit, and one special from !@#$%^&*. Otherwise print WEAK.

Input Format

One line password.

Output Format

STRONG or WEAK.

Sample Test Case

Input:
Abc@1234
Output:
STRONG

Constraints

Length up to 1e5.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next