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