main(a){printf("%d %d",(scanf("%d",&a)+a)*2,(a+1)*3);}
5
12 6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!