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