import statistics
rates = [1500,3200,1700,2600,2000,3000,4200]

mean = statistics.mean(rates)
rates_min = min(rates)
rates_max = max(rates)
item_number = len(rates)

#print(mean)
#print(rates_min)
#print(rates_max)
#print(item_number)