Ответ:
money = int(input())
while money % 8 != money:
money //= 8
print(money)
Объяснение: Вот это верный, 14 из 14 баллов