x = '0101'

value_x = int(x,2)

print(value_x)


numbers = input('Enter the 4 digits binary numbers: ')

numbers_list = numbers.split(",")

numbers_int_list = []

#numbers_int_list = [int(i,2) for i in numbers_list]
#numbers_int_list = [i for i in numbers_list]
print(numbers_list)
print(numbers_int_list)

