#include<stdio.h> int main() { long long int x; while(~scanf("%lld",&x)) { if(x%2==0) printf("0 0 "); else printf("2 %lld ",x+2); } return 0; }