


'''simple docstring'''







from typing import List

from .keymap import KEYMAP, get_character






def 			lowercase				(_A					):







       """simple docstring"""







       def decorator(_A					):
              _lowerCAmelCase    :							str   			=       getattr(_UpperCamelCase   ,						'handle_key'   ,						[]					)
              handle += [key]
              setattr(_UpperCamelCase   ,						'handle_key'   ,						_UpperCamelCase					)
              return func

       return decorator






def 			lowercase				(*_A					):







       """simple docstring"""







       def decorator(_A					):
              _lowerCAmelCase    :							Any   			=       getattr(_UpperCamelCase   ,						'handle_key'   ,						[]					)
              handle += keys
              setattr(_UpperCamelCase   ,						'handle_key'   ,						_UpperCamelCase					)
              return func

       return decorator
class 	UpperCamelCase__					( SCREAMING_SNAKE_CASE_   ):



     """simple docstring"""






     def __new__( cls      ,	snake_case__      ,	snake_case__      ,	snake_case__   ):

            '''simple docstring'''

            _lowerCAmelCase    :							List[Any]   			=       super().__new__(cls      ,	snake_case__      ,	snake_case__      ,	snake_case__   )
            if not hasattr(snake_case__      ,	'key_handler'   ):
                   setattr(snake_case__      ,	'key_handler'      ,	{}   )
            setattr(snake_case__      ,	'handle_input'      ,	KeyHandler.handle_input   )

            for value in attrs.values():
                   _lowerCAmelCase    :							Tuple   			=       getattr(snake_case__      ,	'handle_key'      ,	[]   )
                   for key in handled_keys:
                          _lowerCAmelCase    :							Union[str, Any]   			=       value
            return new_cls







     @staticmethod
     def a	( cls   ):

            '''simple docstring'''

            _lowerCAmelCase    :							Any   			=       get_character()
            if char != KEYMAP["undefined"]:
                   _lowerCAmelCase    :							Optional[int]   			=       ord(snake_case__   )
            _lowerCAmelCase    :							Union[str, Any]   			=       cls.key_handler.get(snake_case__   )
            if handler:
                   _lowerCAmelCase    :							Tuple   			=       char
                   return handler(cls   )
            else:
                   return None






def 			lowercase				(cls					):







       """simple docstring"""







       return KeyHandler(cls.__name__   ,						cls.__bases__   ,						cls.__dict__.copy()					)





'''simple docstring'''







import math
from datetime import datetime, timedelta






def 			lowercase				(_A					):







       """simple docstring"""







       _lowerCAmelCase    :							Optional[Any]   			=       year % 1_9
       _lowerCAmelCase    :							Any   			=       year % 4
       _lowerCAmelCase    :							Optional[int]   			=       year % 7
       _lowerCAmelCase    :							int   			=       math.floor(year / 1_0_0					)
       _lowerCAmelCase    :							Dict   			=       math.floor((1_3 + 8 * leap_day_inhibits) / 2_5					)
       _lowerCAmelCase    :							Optional[Any]   			=       leap_day_inhibits / 4
       _lowerCAmelCase    :							Dict   			=       (
           1_5 - lunar_orbit_correction + leap_day_inhibits - leap_day_reinstall_number
       ) % 3_0
       _lowerCAmelCase    :							List[Any]   			=       (4 + leap_day_inhibits - leap_day_reinstall_number) % 7

       # days to be added to March 21
       _lowerCAmelCase    :							Dict   			=       (1_9 * metonic_cycle + secular_moon_shift) % 3_0

       # PHM -> Paschal Full Moon
       _lowerCAmelCase    :							Union[str, Any]   			=       (
           2 * julian_leap_year
           + 4 * non_leap_year
           + 6 * days_to_add
           + century_starting_point
       ) % 7

       if days_to_add == 2_9 and days_from_phm_to_sunday == 6:
              return datetime(_A   ,						4   ,						1_9					)
       elif days_to_add == 2_8 and days_from_phm_to_sunday == 6:
              return datetime(_A   ,						4   ,						1_8					)
       else:
              return datetime(_A   ,						3   ,						2_2					) + timedelta(
                  days=int(days_to_add + days_from_phm_to_sunday					)					)


if __name__ == "__main__":
       for year in (19_94, 20_00, 20_10, 20_21, 20_23):
              lowerCAmelCase    :     List[str]					=						"""will be""" if year > datetime.now().year else """was"""
              print(F'''Easter in {year} {tense} {gauss_easter(year)}''')

