


def 			lowerCAmelCase__					(     )    ->						Optional[int]:


							'''simple docstring'''





							_UpperCAmelCase											=     [3_1, 2_8, 3_1, 3_0, 3_1, 3_0, 3_1, 3_1, 3_0, 3_1, 3_0, 3_1]

							_UpperCAmelCase											=     6
							_UpperCAmelCase											=     1
							_UpperCAmelCase											=     1_9_0_1

							_UpperCAmelCase											=     0

							while year < 2_0_0_1:
														day += 7

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

														if month > 1_2:
																					year += 1
																					_UpperCAmelCase											=     1

														if year < 2_0_0_1 and day == 1:
																					sundays += 1
							return sundays


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




from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_tf_available,
    is_torch_available,
    is_vision_available,
)


lowerCAmelCase__    :Tuple       =				{'''configuration_deit''': ['''DEIT_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''DeiTConfig''', '''DeiTOnnxConfig''']}

try:
		if not is_vision_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		lowerCAmelCase__    :List[Any]       =				['''DeiTFeatureExtractor''']
		lowerCAmelCase__    :Union[str, Any]       =				['''DeiTImageProcessor''']

try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		lowerCAmelCase__    :Tuple       =				[
		    '''DEIT_PRETRAINED_MODEL_ARCHIVE_LIST''',
		    '''DeiTForImageClassification''',
		    '''DeiTForImageClassificationWithTeacher''',
		    '''DeiTForMaskedImageModeling''',
		    '''DeiTModel''',
		    '''DeiTPreTrainedModel''',
		]

try:
		if not is_tf_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		lowerCAmelCase__    :Union[str, Any]       =				[
		    '''TF_DEIT_PRETRAINED_MODEL_ARCHIVE_LIST''',
		    '''TFDeiTForImageClassification''',
		    '''TFDeiTForImageClassificationWithTeacher''',
		    '''TFDeiTForMaskedImageModeling''',
		    '''TFDeiTModel''',
		    '''TFDeiTPreTrainedModel''',
		]


if TYPE_CHECKING:
		from .configuration_deit import DEIT_PRETRAINED_CONFIG_ARCHIVE_MAP, DeiTConfig, DeiTOnnxConfig

		try:
				if not is_vision_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .feature_extraction_deit import DeiTFeatureExtractor
				from .image_processing_deit import DeiTImageProcessor

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_deit import (
				    DEIT_PRETRAINED_MODEL_ARCHIVE_LIST,
				    DeiTForImageClassification,
				    DeiTForImageClassificationWithTeacher,
				    DeiTForMaskedImageModeling,
				    DeiTModel,
				    DeiTPreTrainedModel,
				)

		try:
				if not is_tf_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_tf_deit import (
				    TF_DEIT_PRETRAINED_MODEL_ARCHIVE_LIST,
				    TFDeiTForImageClassification,
				    TFDeiTForImageClassificationWithTeacher,
				    TFDeiTForMaskedImageModeling,
				    TFDeiTModel,
				    TFDeiTPreTrainedModel,
				)


else:
		import sys

		lowerCAmelCase__    :List[str]       =				_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)
