n = int(input())
pr = 1
while n > 0:
if n % 10 > 7:
pr *= n % 10
n //= 10
print(pr)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
n = int(input())
pr = 1
while n > 0:
if n % 10 > 7:
pr *= n % 10
n //= 10
print(pr)