#include<iostream>
using namespace std;
int main(){
int rs;
cin >> rs;
cout << rs << ' ' << rs * 10;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int rs;
cin >> rs;
cout << rs << ' ' << rs * 10;
return 0;
}