


'''simple docstring'''



__UpperCAmelCase    :List[Any]				       =     [4, 1, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
__UpperCAmelCase    :List[str]				       =     [3, 7, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
__UpperCAmelCase    :Union[str, Any]				       =     {
    0: """Sunday""",
    1: """Monday""",
    2: """Tuesday""",
    3: """Wednesday""",
    4: """Thursday""",
    5: """Friday""",
    6: """Saturday""",
}




def 			_a			(		_lowercase      :			List[Any]    ,      _lowercase      :			List[str]    ,      _lowercase      :			List[str]						):





     '''simple docstring'''






     assert len(str(_lowercase						)						) > 2, "year should be in YYYY format"
     assert 1 <= month <= 12, "month should be between 1 to 12"
     assert 1 <= day <= 31, "day should be between 1 to 31"

     # Doomsday algorithm:
     __UpperCAmelCase			:				Tuple													=    year // 100
     __UpperCAmelCase			:				Union[str, Any]													=    (5 * (century % 4) + 2) % 7
     __UpperCAmelCase			:				List[str]													=    year % 100
     __UpperCAmelCase			:				Union[str, Any]													=    centurian % 12
     __UpperCAmelCase			:				Dict													=    (
         (centurian // 12) + centurian_m + (centurian_m // 4) + century_anchor
     ) % 7
     __UpperCAmelCase			:				Any													=    (
         DOOMSDAY_NOT_LEAP[month - 1]
         if (year % 4 != 0) or (centurian == 0 and (year % 400) == 0)
         else DOOMSDAY_LEAP[month - 1]
     )
     __UpperCAmelCase			:				List[str]													=    (dooms_day + day - day_anchor) % 7
     return WEEK_DAY_NAMES[week_day]


if __name__ == "__main__":
      import doctest

      doctest.testmod()



'''simple docstring'''



def 			_a			(		_lowercase      :			int = 4000000						):





     '''simple docstring'''






     __UpperCAmelCase			:				Tuple													=    []
     __UpperCAmelCase							,     __UpperCAmelCase			:				int													=    0, 1
     while b <= n:
          if b % 2 == 0:
               even_fibs.append(_lowercase						)
          __UpperCAmelCase							,     __UpperCAmelCase			:				Dict													=    b, a + b
     return sum(_lowercase						)


if __name__ == "__main__":
      print(f"""{solution() = }""")