






'''simple docstring'''
def 	_a(					):




      '''simple docstring'''






      SCREAMING_SNAKE_CASE__       :			List[str]													=[3_1, 2_8, 3_1, 3_0, 3_1, 3_0, 3_1, 3_1, 3_0, 3_1, 3_0, 3_1]

      SCREAMING_SNAKE_CASE__       :			Union[str, Any]													=6
      SCREAMING_SNAKE_CASE__       :			Tuple													=1
      SCREAMING_SNAKE_CASE__       :			int													=1_9_0_1

      SCREAMING_SNAKE_CASE__       :			str													=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
                        SCREAMING_SNAKE_CASE__       :			List[str]													=day - days_per_month[month - 2]
                  elif day > 2_9 and month == 2:
                        month += 1
                        SCREAMING_SNAKE_CASE__       :			Any													=day - 2_9
            else:
                  if day > days_per_month[month - 1]:
                        month += 1
                        SCREAMING_SNAKE_CASE__       :			Union[str, Any]													=day - days_per_month[month - 2]

            if month > 1_2:
                  year += 1
                  SCREAMING_SNAKE_CASE__       :			Optional[Any]													=1

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


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








'''simple docstring'''
from decimal import Decimal, getcontext
from math import ceil, factorial





def 	_a(					UpperCamelCase__			:  int							):




      '''simple docstring'''






      if not isinstance(UpperCamelCase__,		UpperCamelCase__							):
            raise TypeError('''Undefined for non-integers'''							)
      elif precision < 1:
            raise ValueError('''Undefined for non-natural numbers'''							)

      SCREAMING_SNAKE_CASE__       :			Optional[Any]													=precision
      SCREAMING_SNAKE_CASE__       :			int													=ceil(precision / 1_4							)
      SCREAMING_SNAKE_CASE__       :			int													=4_2_6_8_8_0 * Decimal(1_0_0_0_5							).sqrt()
      SCREAMING_SNAKE_CASE__       :			Tuple													=1
      SCREAMING_SNAKE_CASE__       :			Any													=1_3_5_9_1_4_0_9
      SCREAMING_SNAKE_CASE__       :			List[Any]													=Decimal(UpperCamelCase__							)
      for k in range(1,		UpperCamelCase__							):
            SCREAMING_SNAKE_CASE__       :			str													=factorial(6 * k							) // (factorial(3 * k							) * factorial(UpperCamelCase__							) ** 3)
            linear_term += 5_4_5_1_4_0_1_3_4
            exponential_term *= -2_6_2_5_3_7_4_1_2_6_4_0_7_6_8_0_0_0
            partial_sum += Decimal(multinomial_term * linear_term							) / exponential_term
      return str(constant_term / partial_sum							)[:-1]


if __name__ == "__main__":
  a_					=	5_0
  print(F'''The first {n} digits of pi is: {pi(n)}''')