#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main() {
double a = pow(10, -300);
double b = pow(10, -308);
cout << setprecision(50);
cout << "The reasonable way: " << a/b << endl;
cout << "The wacky way: " << exp(log(a)-log(b)) << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KI2luY2x1ZGUgPGNtYXRoPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglkb3VibGUgYSA9IHBvdygxMCwgLTMwMCk7Cglkb3VibGUgYiA9IHBvdygxMCwgLTMwOCk7CgkKCWNvdXQgPDwgc2V0cHJlY2lzaW9uKDUwKTsKCQoJY291dCA8PCAiVGhlIHJlYXNvbmFibGUgd2F5OiAiIDw8IGEvYiA8PCBlbmRsOwoJY291dCA8PCAiVGhlIHdhY2t5IHdheTogIiA8PCBleHAobG9nKGEpLWxvZyhiKSkgPDwgZW5kbDsKfQ==