#include<bits/stdc++.h>
using namespace std;
int main()
{
int s,x,y,c=5;
cin>>s;
x=c;
y=s*c;
cout<<x<<" "<<y;
}
/**************************************************************
Problem: 1417
User: cici
Language: C++
Result: Wrong Answer
****************************************************************/