#include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
  std::ios::sync_with_stdio(false);
  int N;
  cin >> N;
  int b = 1;
  int l = 0, r = N + 1;
  while (r - l > 1) {
    if (b)
      cout << ++l << " ";
    else
      cout << --r << " ";
    b = 1 - b;
  }
  cout << endl;
  return 0;
}
