import os


print(os.system('ping -c 1 182.70.119.154'))


ip_address = "126.208.87.114"

# Split the IP address into parts using the dot as the delimiter
ip_parts = ip_address.split(".")

# Remove the last part (value after the last dot)
ip_parts.pop()

print(ip_parts)

# Join the remaining parts back together
new_ip_address = ".".join(ip_parts)

print(new_ip_address)