//g++ -std=c++11 -Wall -O2 -o main.exe main.cpp //g++ -std=c++14 -Wall -O2 -o main.exe main.cpp #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define spc " " #define com ", " typedef long long ll; typedef long double ld; typedef pair p_ii; typedef tuple tup; //------------------------------------------------------------------------------ int main(){ int n; cin >> n; cout << (n / 2) << spc << ((n + 1) / 2) << endl; return 0; }