#Statistics are often calculated with varying amounts of input data. 
#Write a program that takes any number of non-negative floating-point numbers as input, and outputs the max and average, respectively.

#Output the max and average with two digits after the decimal point.

#Ex: If the input is:

#14.25 25 0 5.75
#the output is:

#25.00 11.25

#remember for this any number, not a set of numbers so the user is able to put in as many numbers as they want 


numbers = list(map(float,input().split()))

max_num = max(numbers)

average_num = sum(numbers) / len(numbers)

print(f'{max_num:.2f} {average_num:.2f}')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: