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