Олимпиадный тренинг

Задача 39017. Algorithm Analysis - 01


Задача

Темы: Цикл for
At what minimum natural number n, the program will display two numbers on the screen, such that the first is even, the second is odd.
 
Python
s = 0
k = 0
for j in range(14, n):
    k += j // 10% 10
    s += j % 10
print(k, s)