






import sys
import turtle


def 	lowerCamelCase__      (  lowercase    ,  lowercase					):

  """simple docstring"""






  return (pa[0] + pa[0]) / 2, (pa[1] + pa[1]) / 2


def 	lowerCamelCase__      (  lowercase    ,  lowercase    ,  lowercase    ,  lowercase    ,  ):

  """simple docstring"""






  my_pen.up()
  my_pen.goto(vertexa[0]    ,  vertexa[1]					)
  my_pen.down()
  my_pen.goto(vertexa[0]    ,  vertexa[1]					)
  my_pen.goto(vertexa[0]    ,  vertexa[1]					)
  my_pen.goto(vertexa[0]    ,  vertexa[1]					)

  if depth == 0:
    return

  triangle(lowercase    ,  get_mid(lowercase    ,  lowercase					)    ,  get_mid(lowercase    ,  lowercase					)    ,  depth - 1					)
  triangle(lowercase    ,  get_mid(lowercase    ,  lowercase					)    ,  get_mid(lowercase    ,  lowercase					)    ,  depth - 1					)
  triangle(lowercase    ,  get_mid(lowercase    ,  lowercase					)    ,  get_mid(lowercase    ,  lowercase					)    ,  depth - 1					)


if __name__ == "__main__":
   if len(sys.argv) != 2:
      raise ValueError(
          """Correct format for using this script: """
          """python fractals.py <int:depth_for_fractal>"""
      )
   snake_case     					=		turtle.Turtle()
   my_pen.ht()
   my_pen.speed(5)
   my_pen.pencolor("""red""")

   snake_case     					=		[(-175, -125), (0, 175), (175, -125)]  # vertices of triangle
   triangle(vertices[0], vertices[1], vertices[2], int(sys.argv[1]))










"""simple docstring"""




def       a_ (	lowercase__ :str     ):
			__lowerCamelCase          =      [int(lowercase__     ) for i in ip_va_address.split("""."""     ) if i.isdigit()]
			return len(lowercase__     ) == 4 and all(0 <= int(lowercase__     ) <= 254 for octet in octets     )


if __name__ == "__main__":
					__magic_name__						: Tuple    =				input().strip()
					__magic_name__						: Optional[int]    =				'valid' if is_ip_va_address_valid(ip) else 'invalid'
					print(f"""{ip} is a {valid_or_invalid} IP v4 address.""")




