

import requests
from bsa import BeautifulSoup






def        __lowercase   (  _A    ,     _A      )  ->    str:
      SCREAMING_SNAKE_CASE			:   Tuple	  = (
          """https://www.horoscope.com/us/horoscopes/general/"""
          F"horoscope-general-daily-{day}.aspx?sign={zodiac_sign}"
      )
      SCREAMING_SNAKE_CASE			:   str	  = BeautifulSoup(requests.get(_A      ).content    ,     """html.parser"""      )
      return soup.find("""div"""    ,     class_="""main-horoscope"""      ).p.text


if __name__ == "__main__":
  print("""Daily Horoscope. \n""")
  print(
      """enter your Zodiac sign number:\n""",
      """1. Aries\n""",
      """2. Taurus\n""",
      """3. Gemini\n""",
      """4. Cancer\n""",
      """5. Leo\n""",
      """6. Virgo\n""",
      """7. Libra\n""",
      """8. Scorpio\n""",
      """9. Sagittarius\n""",
      """10. Capricorn\n""",
      """11. Aquarius\n""",
      """12. Pisces\n""",
  )
  UpperCAmelCase__			:  Any					     =     int(input("""number> """).strip())
  print("""choose some day:\n""", """yesterday\n""", """today\n""", """tomorrow\n""")
  UpperCAmelCase__			:  Any					     =     input("""enter the day> """)
  UpperCAmelCase__			:  List[str]					     =     horoscope(zodiac_sign, day)
  print(horoscope_text)







import itertools






def        __lowercase   (  _A = 1000000      )  ->    int:
      SCREAMING_SNAKE_CASE			:   Tuple	  = [1]

      for i in itertools.count(len(_A      )      ):
            SCREAMING_SNAKE_CASE			:   Optional[int]	  = 0
            for j in itertools.count(1      ):
                  SCREAMING_SNAKE_CASE			:   str	  = -1 if j % 2 == 0 else +1
                  SCREAMING_SNAKE_CASE			:   Any	  = (j * j * 3 - j) // 2
                  if index > i:
                        break
                  item += partitions[i - index] * sign
                  item %= number
                  index += j
                  if index > i:
                        break
                  item += partitions[i - index] * sign
                  item %= number

            if item == 0:
                  return i
            partitions.append(_A      )

      return 0


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  print(F"""{solution() = }""")




