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