#include<bits/stdc++.h>
using namespace std;
int main(){
    float a1,a2,a3,b,z;
    cin>>a1>>a2>>a3;
    b=a1+a2+a3;
    if(b>=200){
        z=b*0.8;
        printf("%.1f",z);
    }if(b<200){
        z=b*0.9;
        printf("%.1f",z);
    }
}
/**************************************************************
	Problem: 1624
	User: xuezihong1
	Language: C++
	Result: Accepted
	Time:12 ms
	Memory:2072 kb
****************************************************************/