Problem Description

Read a password string. Create Validator class ok() that checks: length>=8, has at least one digit, one uppercase, one lowercase. Output YES or NO.

Input Format

One line password.

Output Format

YES or NO.

Sample Test Case

Input:
Abcdef12
Output:
YES

Constraints

Length

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next