#include <iostream>
#include <vector>
int main() {
// Declare a vector to store numeric values
std::vector<double> numbers;
// Read input values until a non-numeric value is entered
double num;
while (std::cin >> num) {
numbers.push_back(num);
}
// Calculate the sum of all elements in the vector
double sum = 0.0;
for (double value : numbers) {
sum += value;
}
// Calculate the average by dividing the sum by the number of elements
double average = numbers.size() > 0 ? sum / numbers.size() : 0.0;
// Display the calculated average
std::cout << "Average: " << average << std::endl;
return 0;
}