m = float(input('Insira a distancia em metros: '))

print('A medida de {}m equivale a:'.format(m))
print('{}Km'.format(m/1000))
print('{}Hm'.format(m/100))
print('{}dam'.format(m/10))
print('{}dm'.format(m*10))
print('{}cm'.format(m*100))
print('{}mm'.format(m*1000))