#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
cout << DBL_MAX << endl;
cout << LDBL_MAX << endl;
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCS8vIHlvdXIgY29kZSBnb2VzIGhlcmUKCWNvdXQgPDwgREJMX01BWCA8PCBlbmRsOwoJY291dCA8PCBMREJMX01BWCA8PCBlbmRsOwoJcmV0dXJuIDA7Cn0=