



'''simple docstring'''





def        a_     (							_lowerCAmelCase       )      ->      bool:
  __lowerCamelCase       :       Union[str, Any]           = [int(_lowerCAmelCase       ) for i in ip_va_address.split('.'       ) if i.isdigit()]
  return len(_lowerCAmelCase       ) == 4 and all(0 <= int(_lowerCAmelCase       ) <= 254 for octet in octets       )


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











'''simple docstring'''





def        a_     (							_lowerCAmelCase       )      ->      list:
  if n_term == "":
    return []
  __lowerCamelCase       :       list           = []
  for temp in range(int(_lowerCAmelCase       )       ):
    series.append(F'1/{temp + 1}' if series else '1'       )
  return series


if __name__ == "__main__":
   _UpperCamelCase											=						input('Enter the last number (nth term) of the Harmonic Series')
   print('Formula of Harmonic Series => 1+1/2+1/3 ..... 1/n')
   print(harmonic_series(nth_term))






