




import os
import sys
from contextlib import contextmanager


# Windows only
if os.name == "nt":
 import ctypes
 import msvcrt  # noqa




 class 						__lowercase		(ctypes.Structure							):




       """simple docstring"""





       _snake_case												=						[("""size""", ctypes.c_int), ("""visible""", ctypes.c_byte)]




def 						SCREAMING_SNAKE_CASE__ (   )  ->       List[str]:
   if os.name == "nt":
      snake_case				:    str           =	CursorInfo()
      snake_case				:    str           =	ctypes.windll.kernelaa.GetStdHandle(-11					)
      ctypes.windll.kernelaa.GetConsoleCursorInfo(lowercase						,ctypes.byref(lowercase					)					)
      snake_case				:    Union[str, Any]           =	False
      ctypes.windll.kernelaa.SetConsoleCursorInfo(lowercase						,ctypes.byref(lowercase					)					)
   elif os.name == "posix":
      sys.stdout.write("""\033[?25l"""					)
      sys.stdout.flush()




def 						SCREAMING_SNAKE_CASE__ (   )  ->       str:
   if os.name == "nt":
      snake_case				:    Any           =	CursorInfo()
      snake_case				:    int           =	ctypes.windll.kernelaa.GetStdHandle(-11					)
      ctypes.windll.kernelaa.GetConsoleCursorInfo(lowercase						,ctypes.byref(lowercase					)					)
      snake_case				:    str           =	True
      ctypes.windll.kernelaa.SetConsoleCursorInfo(lowercase						,ctypes.byref(lowercase					)					)
   elif os.name == "posix":
      sys.stdout.write("""\033[?25h"""					)
      sys.stdout.flush()




@contextmanager
def 						SCREAMING_SNAKE_CASE__ (   )  ->       Dict:
   try:
      hide_cursor()
      yield
   finally:
      show_cursor()











def 						SCREAMING_SNAKE_CASE__ (   lowercase = 1000					)  ->       int:
   snake_case				:    Optional[int]           =	3
   snake_case				:    List[Any]           =	0
   while a < n:
      if a % 3 == 0 or a % 5 == 0:
         result += a
      elif a % 15 == 0:
         result -= a
      a += 1
   return result


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





