#include <iostream>
#include <cmath>
using namespace std;

int main() {
double y=0;
int count = 0;
	for (double x = 200000000; count < 3; x++){
     y = sqrt((x*x - 1)/13); 
if (y - floor(y)==0){
count++;
cout << x << " " << y << endl;
}
}
    
	return 0;
}