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

Задача 24679. Analysis of the digits of the number - 7


Задача

Темы: Цикл while
Given a natural number N (N<=109) and a number k. Determine the product of the digits of the number N, which are greater than k. If there are no such digits, then print 0.

Input and output example
test number Input Output
1 45545
4
125
2 1235
2
15