Ответ:
numbers = [int(i) for i in input().split(' ') if i[-1] == '5']
if not numbers:
print('нет')
else:
print(min(numbers), max(numbers))
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
numbers = [int(i) for i in input().split(' ') if i[-1] == '5']
if not numbers:
print('нет')
else:
print(min(numbers), max(numbers))