#include <bits/stdc++.h>
using namespace std;

int main() {
	// your code goes here
	cout << DBL_MAX << endl;
	cout << LDBL_MAX << endl;
	return 0;
}