#include<bits/stdc++.h> using namespace std; int main() { double h=100.0,s=100; for(int i=1;i<=10;i++){ h=h/2; s+=h*2; } printf("%.6lf %.6lf",s,h); return 0; }