fzukzh @ 2023-02-11 16:03:53
a,b,c=map(int,input().split())
s=None
for i in range(33,334):
str1=f'{i*a}{i*b}{i*c}'
lst=[]
for j in str1:
lst.append(int(j))
lst.sort()
if lst==[x for x in range(1,10)]:
print(f'{a*i} {b*i} {c*i}')
s=True
if s:
pass
else:
print('No!!!')
by ZheYi_ @ 2023-02-28 22:05:44
range(33,334)->range(1,334)