"""
Convert the number 58 to binary and then to hexadecimal and
octal.
"""

decimal_number = 58

binary = bin(decimal_number)
hexadecimal = hex(decimal_number)
octal = oct(decimal_number)

print("Decimal:", decimal_number, "\nbinary:", binary, "\nhexadecimal:", hexadecimal, "\noctal:", octal)

