#include<iostream> using namespace std; int main(){ double a2[10] = {28.9,32.7,45.6,78,35,86.2,27.8,43,56,65}; double n,s=0; for(int i=0;i<10;i++){ cin>>n; s=s+a2[i]*n; } cout<<s; }