#include<stdio.h> #include<math.h> int main() { int n; while(scanf("%d",&n)!=EOF) { int a,b; a=pow(2,n)-1; b=n*100000; printf("%d %d\n",a,b); } return 0; }
Double click to view unformatted code.