#include int main(void){ int C; scanf("%d", &C); printf("%d %d\n", 1,C); return 0; }