#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, p = 1, d;
  cin >> n;
  if (n % 2 == 0) {
    d = n / 2;
  } else {
    d = n / 2 + 1;
  }
  for (int i = n - 1; i >= 1; i--) {
    cout << p << ' ';
    if (p <= d) {
      p += i;
    } else {
      p -= i;
    }
  }
  cout << p;
  return 0;
}
