Problem Description

Print OK if input is valid IPv4 address (0..255 each part), else INVALID_IP.

Input Format

One token ip.

Output Format

OK or INVALID_IP.

Sample Test Case

Input:
192.168.0.1
Output:
OK

Constraints

|ip|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next