mins = "нет"
while 1:
a = int(input())
if a == 0: break
elif len(str(abs(a))) == 2 and str(a)[-1] == "6":
if mins == "нет":
mins = a
elif mins >= a:
print(mins)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
mins = "нет"
while 1:
a = int(input())
if a == 0: break
elif len(str(abs(a))) == 2 and str(a)[-1] == "6":
if mins == "нет":
mins = a
elif mins >= a:
mins = a
print(mins)