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

Задача 34789. Wonderful Numbers 8


Задача

Темы: Цикл for
Among all three-digit numbers, find those whose sum of digits is a multiple of 7 and the number itself is also divisible by 7. Print all such numbers.

Input data: The program does not require input from the keyboard, it simply displays a list of the numbers you are looking for
Output: Output the answer to the problem. Output numbers one per line
 
Запрещенные операторы:list;[