def maxmin(n: list[int]):
n=sorted(n)
print(n[-1])
print(n.count(n[0])
Задание 2. n = [773, 293, 773, 88129, 293]
def max(n: list[int]) -> int:
n = sorted(n)
max = None
for i in n:
if n.count(i) == 2 and str(i).endswith("3"):
max = i
print(max)