#include <bits/stdc++.h>
using namespace std;
int i = 1, j, n, a[10000], var;
int main() {
  cin >> n;
  j = n;
  for (int k = 0; k < n; k++) {
    if (var == 0)
      a[k] = i, i++, var = 1;
    else
      a[k] = j, j--, var = 0;
  }
  for (int u = 0; u < n; u++) {
    if (u == n - 1)
      cout << a[u] << endl;
    else
      cout << a[u] << " ";
  }
}
