





'''simple docstring'''

__lowerCAmelCase		     ="ABCDEFGHIJKLMNOPQRSTUVWXYZ"





def 						UpperCamelCase    (							):
    A__    =      input("Enter message: "	)
    A__    =      input("Enter key [alphanumeric]: "	)
    A__    =      input("Encrypt/Decrypt [e/d]: "	)

    if mode.lower().startswith("e"	):
        A__    =      "encrypt"
        A__    =      encrypt_message(_lowerCamelCase						,	_lowerCamelCase	)
    elif mode.lower().startswith("d"	):
        A__    =      "decrypt"
        A__    =      decrypt_message(_lowerCamelCase						,	_lowerCamelCase	)

    print(F"\n{mode.title()}ed message:"	)
    print(_lowerCamelCase	)





def 						UpperCamelCase    (							_lowerCamelCase : str						,	_lowerCamelCase : str	):
    return translate_message(_lowerCamelCase						,	_lowerCamelCase						,	"encrypt"	)





def 						UpperCamelCase    (							_lowerCamelCase : str						,	_lowerCamelCase : str	):
    return translate_message(_lowerCamelCase						,	_lowerCamelCase						,	"decrypt"	)





def 						UpperCamelCase    (							_lowerCamelCase : str						,	_lowerCamelCase : str						,	_lowerCamelCase : str	):
    A__    =      []
    A__    =      0
    A__    =      key.upper()

    for symbol in message:
        A__    =      LETTERS.find(symbol.upper()	)
        if num != -1:
            if mode == "encrypt":
                num += LETTERS.find(key[key_index]	)
            elif mode == "decrypt":
                num -= LETTERS.find(key[key_index]	)

            num %= len(_lowerCamelCase	)

            if symbol.isupper():
                translated.append(LETTERS[num]	)
            elif symbol.islower():
                translated.append(LETTERS[num].lower()	)

            key_index += 1
            if key_index == len(_lowerCamelCase	):
                A__    =      0
        else:
            translated.append(_lowerCamelCase	)
    return "".join(_lowerCamelCase	)


if __name__ == "__main__":
  main()










'''simple docstring'''

def 						UpperCamelCase    (							):
    A__    =      [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

    A__    =      6
    A__    =      1
    A__    =      19_01

    A__    =      0

    while year < 20_01:
        day += 7

        if (year % 4 == 0 and year % 1_00 != 0) or (year % 4_00 == 0):
            if day > days_per_month[month - 1] and month != 2:
                month += 1
                A__    =      day - days_per_month[month - 2]
            elif day > 29 and month == 2:
                month += 1
                A__    =      day - 29
        else:
            if day > days_per_month[month - 1]:
                month += 1
                A__    =      day - days_per_month[month - 2]

        if month > 12:
            year += 1
            A__    =      1

        if year < 20_01 and day == 1:
            sundays += 1
    return sundays


if __name__ == "__main__":
  print(solution())



