def guess_the_password(str_username):
    """
    Guess the password according to the username
    :param str_username: string based username
    :return: string based password on success, 1 on unable to guess
    """
    # the cheat sheet dictionary is a username-password based hash.
    # Please Edit the dictionary for password settings
    dict_cheat_sheet = {
        'user1': 'password1',
        'user2': 'password2',
        'root': '1234567',
        'user3': 'password3',
        'admin': 'admin'
    }
    if (str_username in dict_cheat_sheet) \
            and (dict_cheat_sheet[str_username] != ""):
        return dict_cheat_sheet[str_username]
    else:
        return 1