#include using namespace std; typedef long long ll; typedef long double ld; int main(){ int n;cin >> n; ll p=0; ld q=0; for(int i=0;i> a; p+=floor(a); q+=a-floor(a); } cout << fixed << setprecision(10) << p+q << endl; }