#include <bits/stdc++.h>   using namespace std;   char s[1005];   long long t, ans = 0;   int x, l;   int main() {     scanf( %s , s);     int len = strlen(s);     for (int i = 0; i < len; i++) {       if (isalpha(s[i])) {         if (t) {           if (l == 2)             ans += t;           else             ans += t * 100;         }         t = 0;         x = 0;         l = 0;       } else {         if (isdigit(s[i])) {           t = t * 10 + s[i] -  0 ;           if (x) {             l++;           }         } else {           x = 1;           l = 0;         }       }     }     if (t) {       if (l == 2) {         ans += t;       } else         ans += t * 100;     }     long long temp = ans / 100;     long long temp1 = ans % 100;     len = 0;     string A =   ;     if (temp == 0) A = A +  0 ;     while (temp) {       if (len && len % 3 == 0) {         A = A +  . ;       }       char c =  0  + temp % 10;       A = A + c;       temp /= 10;       len++;     }     reverse(A.begin(), A.end());     cout << A;     if (temp1) {       printf( .%.2I64d , temp1);     }     return 0;   }   