#include using namespace std; using ll = long long; int main() { constexpr ll OFFSET=1e10; ll N; cin >> N; ll sum = 0; for(ll i = 0; i < N; i++){ long double a; cin >> a; sum += static_cast(a*OFFSET); } cout << sum / OFFSET << "." << sum%OFFSET << endl; return 0; }