#include<bits/stdc++.h> using namespace std; int main() {cout<<"171.93"<<endl; cout<<"508.00"<<endl; return 0; }