#include <iostream> using namespace std; int main(){ double t,h1,h2,h3=0; cin >> h1; while(t < 10){ h2 = h1/2; h3 += h2; h1/=2; t++; } cout << h3 << " " << h2; return 0; }