Given a hexadecimal number as input, we need to write a program to convert the given hexadecimal number into an equivalent decimal number.
Examples:
Input : 67
Output: 103
Input : 512
Output: 1298
Input : 123
Output: 291
Hexadecimal to Decimal Conversion: https://www.geeksforgeeks.org/program-for-hexadecimal-to-decimal/