#include #include #include using namespace std; template T calculateTotal(vector &arr) { T total = 0; for (T val : arr) { total += val; } return total; } int main() { int n; cin >> n; vector bookings(n); for (int i = 0; i < n; ++i) { cin >> bookings[i]; } double total = calculateTotal(bookings); cout << fixed << setprecision(2) << total << endl; return 0; }