#include <bits/stdc++.h>
using namespace std;
int n;
int a[10005];
int main() {
  cin >> n;
  for (int i = 1; i <= n; ++i) a[i] = i;
  int uk = 1, k = n - 1;
  while (a[uk] != 0) {
    cout << a[uk] << ' ';
    a[uk] = 0;
    uk += k;
    if (k < 0)
      ++k;
    else
      --k;
    k = -k;
  }
  return 0;
}
