#include int main(){ int n; scanf("%d",&n); if(n==1)printf("2 -1\n"); else printf("%d 0\n",n); }