#include using namespace std; signed main(){ int N; cin >> N; vector< __int128 > A( N ); for( int i = 0; i < N; ++i ){ string S; cin >> S; for( int j = 0; j < S.size(); ++j ){ if( S[ j ] == '.' ){ S = S.substr( j ); break; } A[ i ] = A[ i ] * 10 + S[ j ] - '0'; } if( S[ 0 ] == '.' ) S = S.substr( 1 ); else S = ""; for( int j = 0; j < S.size(); ++j ) A[ i ] = A[ i ] * 10 + S[ j ] - '0'; for( int j = 0; j < 10 - S.size(); ++j ) A[ i ] = A[ i ] * 10; } __int128 sum = 0; for( int i = 0; i < N; ++i ) sum += A[ i ]; string ans; while( sum ) ans += ( char ) ( '0' + sum % 10 ), sum /= 10; reverse( ans.begin(), ans.end() ); if( ans.size() <= 10 ) ans = "0." + ans; else ans = ans.substr( 0, ans.size() - 10 ) + "." + ans.substr( ans.size() - 10 ); cout << ans << endl; return 0; }