Загрузка данных
amount = int(input('')) banknote = int(input('')) change = banknote - amount rubles2 = change//2 print(change, rubles2)