word = int(input())
number1 = word // 1000
number2 = word % 1000
print(number1 + number2)
Объяснение:
word = int(input())
number1 = word // 1000
number2 = word % 1000
print(number1 + number2)
Объяснение: