#P261. 【例43.2】 IP地址

【例43.2】 IP地址

Description

When storing IP addresses in a database, for example, 192.168.1.1192.168.1.1 requires 11 characters. However, if we convert each segment to hexadecimal and combine them, it becomes C0A80101C0A80101, which only takes 8 characters.
This way, we can reduce the space occupied by the database.

Input Format

A single line containing a valid IP address (four numbers not exceeding 255, separated by three dots).

Output Format

For each test case, output a single line containing the hexadecimal string in lowercase letters.

Sample

192.168.0.1
c0a80001