#include main(){int N;scanf("%d",&N);printf("%d %d\n",0,N);}