#include <iostream>
#include <cmath>
using namespace std;
signed main() {
float a, b;
cin >> a >> b;
if (sqrt(b) < a)
b *= 5;
cout << a << " " << b;
return 0;
}
#include <iostream>
#include <cmath>
using namespace std;
signed main() {
float a, b;
cin >> a >> b;
if (sqrt(b) < a)
b *= 5;
cout << a << " " << b;
return 0;
}