print user input in Decimal, Octal, and Hexadecimal formats