Given a String S, you need to report if the given String is a valid IP Address :
A valid IP address is:
[dot] is written, instead of the .(dot) character for readability.
Input Format :
The first and only line of input contains the string S. The string shall consist of only numbers and .(dot) symbol of ASCII character set only. All IP addresses will be in decimal i.e. base 10 notation only.
Output Format :
Print the "YES" or "NO" answer on a single line.
Constraints :
1≤|S|≤64
The string contains exactly 4 non-empty parts and 3 dots. The value of each part is <=255 and >= 0.