# Author:
# Date: 4/18/25
# Exam 0, Problem 1 (8 of 20 points)

""" This program converts a 3-digit binary number to decimal.
The program takes three command line arguments, each one a binary digit.
The program prints the decimal representation of that binary number.
Here are some example runs:

>>> %Run p1.py 0 0 0
0
>>> %Run p1.py 1 0 0
4
>>> %Run p1.py 1 1 1
7
>>>

Write your code below:
"""
