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