You have probably registered on Internet sites many times. And each time you should enter your invented password. Usually the registration form automatically checks the password's crypt resistance. If the user's password isn't complex enough, a message is displayed. Today your task is to implement such an automatic check.

Web-developers of the company Q assume that a password is complex enough, if it meets all of the following conditions:
 -  the password length is at least 5 characters; -  the password contains at least one large English letter; -  the password contains at least one small English letter; -  the password contains at least one digit. 
You are given a password. Please implement the automatic check of its complexity for company Q.
The first line contains a non-empty sequence of characters (at most 100 characters). Each character is either a large English letter, or a small English letter, or a digit, or one of characters: "!", "?", ".", ",", "_".
import string
def StrongPassTest(password):
    small_letter= False
    big_letter = False
    digits_test = False
    specialchar_test = False
    password = list(password)
    print(password)
    if len(password)<5:
#        print('check1too short')
        return print('Too weak')
    alfasmol= list(string.ascii_lowercase)
    alfabig = list(string.ascii_uppercase)
    digits= ['0','1','2','3','4','5','6','7','8','9']
    specialchar= ['!','?',',','.','_']
    for element in alfasmol:
        if element in password:
            small_letter= True
    for element in alfabig:
        if element in password:
            big_letter = True
    for element in digits:
        if element in password:
            digits_test = True
    for element in specialchar:
        if element in password:
            specialchar_test = True
    if specialchar_test and digits_test and big_letter and small_letter == True:
        return print("Correct")
    else:
        return print('Too weak')

passord = input('Choose password: ')
StrongPassTest(passord)
