#!/usr/bin/python

#
#        +-----------------------------------------------------------------------------+
#        | OpenFW UTM Community                                                         |
#        +-----------------------------------------------------------------------------+


import iplib
from sys import argv
from sys import exit

try:
    print iplib.convert_nm(argv[1], notation=iplib.NM_BITS)
except:
    exit(1)
exit(0)
