


'''simple docstring'''







def        __lowercase						(      __SCREAMING_SNAKE_CASE				,  __SCREAMING_SNAKE_CASE				,  __SCREAMING_SNAKE_CASE		)				->					float:
     """simple docstring"""




     __a       =   (num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
     # formula for sum of series
     return total




def        __lowercase						(      )				->					Optional[int]:
     """simple docstring"""




     print(sum_of_series(1				,  1				,  10		)		)


if __name__ == "__main__":
 import doctest

 doctest.testmod()










'''simple docstring'''







def        __lowercase						(      __SCREAMING_SNAKE_CASE		)				->					bool:
     """simple docstring"""




     __a       =   [int(__SCREAMING_SNAKE_CASE		) for i in ip_va_address.split("""."""		) if i.isdigit()]
     return len(__SCREAMING_SNAKE_CASE		) == 4 and all(0 <= int(__SCREAMING_SNAKE_CASE		) <= 254 for octet in octets		)


if __name__ == "__main__":
 SCREAMING_SNAKE_CASE_      =			input().strip()
 SCREAMING_SNAKE_CASE_      =			'valid' if is_ip_va_address_valid(ip) else 'invalid'
 print(f"""{ip} is a {valid_or_invalid} IP v4 address.""")






